• Hello again Frank! Please can I confirm that I have added the gtag script correctly to Async defer? I’m not sure how to reference the external script correctly:

    Defer Scripts: wp-content/plugins/ecwid-shopping-cart/js/frontend.js, wp-includes/js/jquery/jquery.min.js, googletagmanager.com/gtag/js?id=G-RE9HBZ8ZR2

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    I would simply add googletagmanager or googletagmanager.com ??

    to take info account however that;
    -> GTM migth not work as expected when deferred (do test)
    -> deferring JS does not make it invisible to Google Pagespeed Insights, so it might very well simple complain about the JS it finds there

    frank

    Thread Starter michaelmartin73

    (@michaelmartin73)

    Thank you Frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Defer Gtag scripts’ is closed to new replies.