Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #3181239
google analytics tracking code
Closed

Comments

  • afarineshieltshouse started the conversation

    Hello. I have put the google code in the tracking code section of thegem theme. But this section is still not activated for me on Google analytics panel.

  •  7,280
    Oliver replied

    Hi,

    You should add there full code, example:

    <script async="" src="\"https://www.googletagmanager.com/gtag/js?id=YOUR_GA_CODE\""></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag(\'js\', new Date());
      gtag(\'config\', \'YOUR_GA_CODE\', { \'anonymize_ip\': true });
    </script>

    Add here your code instead "YOUR_GA_CODE"

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver