Inserting the ShinyStat™ code with Google Tag Manager (GTM)

Guide for:

How can I insert the ShinyStat™ code in sites with Google Tag Manager (GTM)?

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.

GuidaGMT Passo1

2. Click where it says Choose a tag type to begin setup…

GuidaGMT Passo2

3. Select Custom HTML from the list.

GuidaGMT Passo3

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

GuidaGMT Passo4

5. Click Choose a trigger to make this tag fire...

GuidaGMT Passo5

6. Click All Pages.

GuidaGMT Passo6

 7. Name the tag and then click the Save button

GuidaGMT Passo7

8. Submit your changes

GuidaGMT Passo8

9. Make sure your live environment is selected, and click Publish.

GuidaGMT Passo9

Back to Help

Step 2 - Installation and get the HTML code