Support » Fixing WordPress » Google Analytics code appearing in footer of site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Drew Jaynes

    (@drewapicture)

    WordPress Core Developer

    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?

    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?

    Drew Jaynes

    (@drewapicture)

    WordPress Core Developer

    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>

    just updated, fixed!

    Thanks Drew!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Analytics code appearing in footer of site?’ is closed to new replies.