• Resolved mayrabueno

    (@mayrabueno)


    Hi,
    Recently, we made some changes to the website to help with Core Web Vitals and, apparently, the views stats seemed to drop. We are worried if we messed up with Jetpack’s scripts. We can’t do a bunch of tests (like stopping plugins or changing a lot of code) because it is a big website in production environment.

    We are trying to understand if the pageviews went down because Jetpack is not counting them as it should (because of some code interference) or if there is another reason.

    Is there a way to debug Jetpack to know if it is working as it should? Is there something specific I can look for when loading a page to see if Jetpack’s script for stats loaded correctly?

    Thanks in advance.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @mayrabueno

    Jetpack uses a function called wp_footer() to insert the Stats tracking code into your site. Could you check that this function is correctly added to your theme, as explained here?

    https://jetpack.com/support/wordpress-com-stats/#missing-wpfooter

    You will need to click on the section saying **The Stats feature is active, but no visits are being recorded anymore**.

    The Stats page works by sending a request to WordPress.com with something called an “Authorization header” – WordPress.com will then verify the request and respond by sending you back your Stats.

    It sounds like something might be blocking this request which is causing the Stats page from not being accessible.

    Could you contact your hosting provider again, and ask them if they are blocking Authorization headers on outgoing HTTP/HTTPS requests?

    You can also forward them a link to the following test:

    https://i.wpne.ws/MZoD

    They can use it to test if Authorization headers are being sent correctly

    Let us know how that goes and if you need any further assistance.

Viewing 1 replies (of 1 total)
  • The topic ‘How to know if Jetpack is working correctly?’ is closed to new replies.