How to make google analytics work well with W3 Total Cache?
-
We have a wordpress website with google analytics installed with the code similar below:
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-123456-1', 'auto'); ga('send', 'pageview'); </script>
Since we installed W3TC 3 weeks ago, we had a conversion report from AdRelevance yesterday, which was the first conversion of approximately two weeks.
These are the current settings we have:
Page Cache: Enabled
Minify: Enabled
JS Minify Settings: Enabled
Embed type:
Before </head> Minify Non-blocking using “defer”
After <body> Minify Non-blocking using “defer”
Before </body> Minify Default (blocking)Browser Cache: Disabled
Do you know what other settings should I set like Enabling the browser cache to solve this kind of issue?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to make google analytics work well with W3 Total Cache?’ is closed to new replies.