Return to Bug Report

Google Analytics creating code at top of page

Home Forums Graphene Mobile Bug Report Google Analytics creating code at top of page

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

    I am seeing a line of analytics code at the top of my mobile page here http://youngadultfinances.com.

    Is there a way to remove this?

    #28669
    Syahir Hakim
    Keymaster

    Hi latisha,

    What’s the Google Analytics tracking code that you have placed in Graphene Mobile Options Page > Google Analytics Options?

    #28670

    I’m using the Google Analytics for WordPress plugin and I think that’s causing the code issues. here’s the code I have

    <script type=”text/javascript”>

    var _gaq = _gaq || [];

    _gaq.push();

    _gaq.push();

    (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>

    #28671

    It’s gone now! I think I had the code in there too many times since I had the plugin as well.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.