WordPress.org

Forums

[resolved] Google Analytics code appearing in footer of site? (5 posts)

  1. somethingborrowed
    Member
    Posted 2 years ago #

    Hi All,

    http://www.something-borrowed.com.au/

    My GA code is appearing in the bottom left of my page... but there is nothing in the footer CSS that looks like it's generating it? Any help?!

    thanks
    steph

  2. Drew Jaynes
    Docs Czar
    Posted 2 years ago #

    If you're using a plugin to insert the GA code it might be echoing it onto the page. If it's included via one of your theme options, it sounds like the same kind of problem. Have you double-checked whichever method you're using to output the GA code with your site?

  3. somethingborrowed
    Member
    Posted 2 years ago #

    I put the code in manually. Then i tried removing it and added a GA plugin, but same issue.

    It's registering views within my GA profile, is that what you mean?

  4. Drew Jaynes
    Docs Czar
    Posted 2 years ago #

    Make sure the code is placed in between <script> tags whether you put it in the header (before the </head> tag) or in the footer, as in:

    <script type="text/javascript">
    YOUR CODE
    </script>
  5. somethingborrowed
    Member
    Posted 2 years ago #

    just updated, fixed!

    Thanks Drew!

Topic Closed

This topic has been closed to new replies.

About this Topic