• Resolved upges

    (@upges)


    How should the writing and configuration be if I want to delay AdSense and Google Analytics v4 until there is user interaction? Thank you.

    • This topic was modified 6 months ago by upges.
Viewing 1 replies (of 1 total)
  • Plugin Support jbgupdraft

    (@jbgupdraft)

    Hi @upges,

    Thanks for contacting us! Are you currently using any of the minification features for Javascript?

    If you visit WP-Optimize > Minify > Javascript > Delay Javascript and enable the option this will delay all javascript until there is user interaction so it might be a better idea so it might be a better option to add the Javascript files for Adsense and GA4 to the “Defer Javascript” settings in WP-Optimize > Minify > Defer Javascript and keep the “Asynchronously load selected JavaScript files” option enabled with those specific Javascript files to see if asynchronously loading those files will help with the Pagespeed scores.

    Let me know how it goes!

Viewing 1 replies (of 1 total)

The topic ‘Delay ads and analytics’ is closed to new replies.