• Resolved dursonj

    (@dursonj)


    I average about 300-500 visitors per day on my blog https://www.thenutritionalsorce.com and the stats from jetpack stopped working yesterday.

    It says I had 24 views yesterday and only 7 views today. Google Analytics shows the more up to date numbers but Jetpack is not..

    Can anyone help?

    Thanks!
    Nick

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    It appears that a big part of your site’s HTML structure is missing right now. You can see it by scrolling down the page on your home page; the footer is missing.

    Since Jetpack’s Stats tracking code is added to the very end of the HTML structure on your site, that code is now missing, and no stats are being tracked on pages where the footer is missing.

    Did you recently make changes to some of your theme’s files? If so, did you remove a function named wp_footer(), that is used by plugins like Jetpack to output elements at the end of the HTML structure?
    https://codex.www.ads-software.com/Function_Reference/wp_footer

    If you did not remove that function, did you add elements before it? If so, you’ll want to make sure any elements you added are not invalidating everything that comes after them. This may happen when opening an HTML tag, and not closing it for example.

    If you did not make any changes to your theme, did you make changes to your site’s content of widgets, and add code there, that may contain opening HTML tags but not closing them?

    Let me know if it helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Jetpack Statistics Not Working Correctly’ is closed to new replies.