• Resolved benjaminchait

    (@benjaminchait)


    I’ve used Jetpack for years. As of early September, it’s recording zero visits. GA shows some traffic; I’ve gone incognito and attempted to create some hits to measure, but nothing. I disconnected and reconnected. Am I doing something else wrong?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    Jetpack stats relies on some tracking code being added to your site’s footer via the wp_footer() function in the footer.php file. But looking at your site’s source code at view-source:https://benjaminchait.net/ I don’t see that tracking code anywhere.

    This could be caused by a few things:

    1) Have you made any edits to your footer.php file? If you’ve deleted the wp_footer() function that would be the most likely cause here, and you’ll have to add that back in:

    https://jetpack.com/support/wordpress-com-stats/#troubleshooting

    2) It’s possible your theme does not have a wp_footer(); in the footer.php file. Try switching to a default theme like Twenty Nineteen and let me know so I can check if the tracking code appears in the page source.

    3) A broken script on the site can also prevent wp_footer(); from loading, so also try deactivating all plugins except Jetpack to see if that helps and check any text widgets for incomplete/broken code.

    If deactivating plugins cause the tracking code to appear in the page source, you can then re-enable your plugins one at a time until it disappears to identify which plugin is causing the issue.

    Thread Starter benjaminchait

    (@benjaminchait)

    Seems like it was (2). Weird, I didn’t change my theme recently, but ???♂?

    Thanks!

    Plugin Support KokkieH

    (@kokkieh)

    It could be an update to your theme that broke something, so perhaps try asking your theme’s support directly about that. Looking at your site stats, we stopped recording stats around 3 September, so that would have been when this broke.

    But I can now see the stats pixel on your site again, and Jetpack is again recording stats, so everything appears to be working now.

    Let us know if you have any more questions about this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack not recording visits’ is closed to new replies.