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

    Prasanna SP

    #35421

    If you’re using GA Google Analytics to insert tracking script, don’t put the same in Graphene Options –> Google Analytics.

    AmandaVA

    #35422

    ok i took the script out of Graphene Options and used my ID in Google Analytics. It still doesnt work, is there anyway i can remove everything and start again also with google itself?

    Prasanna SP

    #35423

    You still have two different GA scripts in your site. Remove one of the two scripts and keep only the correct code.

    dpl0bVi.png

    AmandaVA

    #35424

    right i have taken the code out of SEO and deactivated google analytics. set up new account with gmail and started all over again. you should only see the one code. BUT, unfortunately it still doesnt work.

    this is what it says when i go to the google analytics site

    Status: Tracking Not Installed

    Last checked: Jan 31, 2013 6:37:46 AM PST

    The Google Analytics tracking code has not been detected on your website’s home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

    Prasanna SP

    #35425

    It is still appearing twice!

    dYYV1fV.png

    It will take a few moments for Google to detect the tracking script after you successfully insert the code in your site.

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

You must be logged in to reply to this topic.