• Resolved physioparadigme

    (@physioparadigme)


    Hello,

    Here’s the problem I want to solve : I recently started using the plugin WP-rocket to improve my website’s performance. It includes the option of deferring non-essential javascript files.

    As a result, it messes up with Jetpack’s counting of the page visits, and the Jetpack stats are anormally low.

    If I can identify the javascript file associated with jetpack stats, I can exclude it from the plug in and solve the problem.

    Can anyone tell me the name of this file ?

    Thanks

Viewing 1 replies (of 1 total)
  • Gaurav

    (@gaurav984)

    Hi @physioparadigme,

    Jetpack enqueues a JavaScript file in the footer of the site,?https://stats.wp.com/<FILE Number>.js?(the number changes every week but the file remains the same).

    You can locate this file by viewing the Page Source of the home page of your website and searching for https://stats.wp.com/ string.

    Please feel free to contact us if you have any other questions.

    Best,

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript file for Jetpack stats’ is closed to new replies.