Google Analytics, Google Ads tracking issues

If you experience any problems with tracking data in Google Analytics and/or Google Ads, it could be affected by the Delay JavaScript Execution option.

To prevent the related scripts from being delayed, you can check the Google Analytics and Google Tag Manager boxes in the Analytics & Ads accordion under the One-click exclusions section, as shown below:

checking google boxes

Then, you can save changes, and that should be it.

For reference, the above boxes are targeting the following scripts:

  • Google Analytics
  • google-analytics.com/analytics.js
    ga\( '
    ga\('
  • Google Tag Manager
    /gtag/js
    gtag\(
    /gtm.js
    /gtm-

In WP Rocket versions before 3.13, you can add the above entries to the Excluded JavaScript Files box.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.