Google Analytics Not Working - by lisajayne10

This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago ago by Rose Tyler

  • Avatar: lisajayne10
    lisajayne10
    Participant
    February 22, 2017 at 23:11

    Hi,

    I have implemented My Google Analytics code shown below without the full UA number.

    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’https://www.google-analytics.com/analytics.js&#8217;,’ga’);

    ga(‘create’, ‘UA-*********’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>

    I put the code into theme options, general and then Google Analytics Code. This however has not worked and I really need this resolving asap. I have even tried adding the code before the end <head> tag in the Header Template, but this also has not worked. This method has always worked no matter what the theme.

    I have not installed any new plugins, so there shouldn’t be any conflict. I cannot understand why this theme is not allowing Google Analytics data to be shown.

    Could you please take a look.

    Thank you,

    Lisa

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: lisajayne10
    lisajayne10
    Participant
    February 22, 2017 at 23:35

    Its OK no fix needed, Google Analytics is now working. 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 23, 2017 at 09:31

    Hello,

    We’re glad to hear that your issue was solved.
    Have a nice day!

    Regards,
    Rose Tyler.

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.