Google Analytics – HELP

  • AmandaVA

    #6740

    Hi

    I have been trying for weeks to get this to work I have taken the following code and inserted it into the options section. It still doesnt work, i dont know what else to do, i have tried this several times. Thanks!

    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-37358010-2']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>

    Prasanna SP

    #35412

    Put code in between backtick (

    Code:
    `

    ) characters here in this forum. It’s usually located above the Tab key on your keyboard.

    AmandaVA

    #35413

    is this correct ? If so it still does not work. Thanks

    Mod note: Raw code removed.

    Prasanna SP

    #35414

    No, no. Put code between backticks while posting HERE, IN THIS FORUM.

    AmandaVA

    #35415
    <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-37358010-2']);
    _gaq.push(['_trackPageview']);

    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>

    hope thats right

    AmandaVA

    #35416

    i did what you said, i hope they are not supposed to show as they havent

    Prasanna SP

    #35417

    You have two GA scripts in your site. One with UA-37358010-1 and another UA-37358010-2. And, UA-37358010-2 appears twice! Put only one script which you got from Google Analytics site.

    AmandaVA

    #35418

    ok i have deleted the UA-37358010-1 signed out and in again on google but still getting the same message Status: Tracking Not Installed

    Prasanna SP

    #35419

    If you are using any caching plugin, clear the cache. I can still see 3 tracking scripts in your site.

    AmandaVA

    #35420

    the only pluggins i have are

    All in One SEO pack

    Contact Form 7

    GA Google Analytics

    Google XML Sitemaps

    Social Media Widget

Viewing 10 posts - 1 through 10 (of 17 total)

You must be logged in to reply to this topic.