WordPress.org

Support

Support » How-To and Troubleshooting » Analytics-oops!

Analytics-oops!

  • I tried to load google analytics to my site and received the following errors. any advice?

    Parse error: syntax error, unexpected ‘<‘ in /home/content/31/7406431/html/wp-content/themes/Game/footer.php on line 38
    thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The parse error is telling you what you need to know. You have a duplicate or incorrectly placed < character in your footer.php file.

    For help beyond that:
    can you paste the code from around line 38 of your theme’s footer.php file here?

    line 38 of the code is blank. As when I saw the error I deleted the code from the footer area. I may have messed things up, but the error is still on the page.

    wp_footer();

    </body>
    </html>

    Pastebin the whole file.

    Where did you paste the Google Analytics information?

    It looks like it is being output via the wp_footer() function.

    I pasted it under the footer template, per the analytics page. I believe taht someone in my office may have already added this to another area.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Analytics-oops!’ is closed to new replies.
Skip to toolbar