Site logo

[Resolved] Need Steps to Add Google Analytics Script

Home Forums Support [Resolved] Need Steps to Add Google Analytics Script

Home Forums Support Need Steps to Add Google Analytics Script

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2448544
    Kamal

    Hi,
    I am trying to link my blog with google analytics. I need to add the following script tag in the code of every page of the website, immediately after the <head> element. I have no idea on how to do this. Can you please provide me the step by step instruction to add the following script?

    <!– Google tag (gtag.js) –>
    <script async src=”https://www.googletagmanager.com/gtag/js?id=G-ZZ1XXX9T0ET”></script&gt;
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());

    gtag(‘config’, ‘G-ZZ1C2XXX0ET’);
    </script>

    Thanks & Regards.
    Kamal

    #2448545
    Kamal

    I am able to do this through elements. Thanks.

    #2448547
    Kamal

    Fixed on my own.

    #2448978
    David
    Staff
    Customer Support

    Glad to hear that !

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.