Conversation
supportA 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>
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
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.
As requested I added stats.wp.com under “Script Exclusion” and it works. Thank you!
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
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.
As requested I added stats.wp.com under “Script Exclusion” and it works. Thank you!