Leverage browser caching still showing googletagmanager.com
-
Hello, the CAOS latest version is installed and setup for manual placement, and I manually placed the code in my child’s header.php file, but still it’s showing the following under Leverage browser caching:
https://www.googletagmanager.com/gtag/js?id=AW-851388111&l=dataLayer&cx=c (15 minutes) https://www.googletagmanager.com/gtag/js?id=UA-93039094-1&l=dataLayer&cx=c (15 minutes) https://www.googleadservices.com/pagead/conversion_async.js (1 hour) https://www.google-analytics.com/analytics.js (2 hours)
I have confirmed that gtag isn’t being loaded anywhere else, and when I manually remove the caos-analytics/gtag.js/ script added to the header and re-run PageSpeed, it’s no longer showing the offending Google links.
Here’s the exact code added to header:
<script default src='//cdn.our.news/wp-content/cache/caos-analytics/gtag.js?id=UA-93039094-1'></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-93039094-1', {"cookie_prefix":"CaosGtag","cookie_domain":"our.news","cookie_expires":2592000,"cookie_flags":"samesite=none;secure"}); gtag('config', 'AW-851388111'); </script> </script>
Any suggestions? Thanks!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Leverage browser caching still showing googletagmanager.com’ is closed to new replies.