WordPress.org

Ready to get started?Download WordPress

Forums

Analytics-oops! (6 posts)

  1. Game Fundrasing
    Member
    Posted 1 year ago #

    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!

  2. Rachel Baker
    Member
    Posted 1 year ago #

    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?

  3. Game Fundrasing
    Member
    Posted 1 year ago #

    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>

  4. Andrew Bartel
    Member
    Posted 1 year ago #

    Pastebin the whole file.

  5. Rachel Baker
    Member
    Posted 1 year ago #

    Where did you paste the Google Analytics information?

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

  6. Game Fundrasing
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.