• Resolved Huckleberry

    (@helijobs)


    A few days ago WP/Jetpack stopped reporting stats, and it was because the img-tag line below was gone. It reappeared when I deactivated Async JavaScript, which was set to “Defer” scripts.

    <img src="https://pixel.wp.com/g.gif [...] width="6" height="5" id="wpstats">
    </body>
    </html>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    interesting Huckleberry; AsyncJS does not touch images, but it obviously does defer JS, which is also used by Jetpack stats, so I would assume the problem is rather with Jetpack stats JS being deferred instead the image which AsyncJS would (should) just leave be?

    frank

    Thread Starter Huckleberry

    (@helijobs)

    I tried a few things that did not change anything with Async JavaScript activated:

    • Deactivated lazy loading and site accelerator under “Performance & speed” settings in Jetpack
    • Deactivated Jetpack

    But, then I changed “Defer” to “Async” in your plugin and the img tag reappeared.

    Thread Starter Huckleberry

    (@helijobs)

    As requested I added stats.wp.com under “Script Exclusion” and it works. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP/Jetpack stats gone missing’ is closed to new replies.