Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

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,121
    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