In order to install the ShinyStat™ code in the sites that use Google Tag Manager, just do this:
1. In Google Tag Manager, click on the Add a new tag button.
2. Click where it says Choose a tag type to begin setup…
3. Select Custom HTML from the list.
4. Insert into the text field the ShinyStat code for GTM. The ShinyStat code for GTM is the following:
<!-- Begin ShinyStat Code -->
<script src="https://codicebusiness.shinystat.com/cgi-bin/getcod.cgi?USER=<TRACKING_ID>&NODW=yes" async="async"></script>
<!-- End ShinyStat Code -->
N.B.: Insert your Tracking ID instead <TRACKING_ID> tag
5. Click Choose a trigger to make this tag fire...
6. Click All Pages.
7. Name the tag and then click the Save button
8. Submit your changes
9. Make sure your live environment is selected, and click Publish.