Analytics Stopped Tracking
-
Hi Dan,
I have installed CAOS, activated it, plugged in my tracking code, checked off “allow tracking always”, and entered the CDN server (https://beseenontop-wpengine.netdna-ssl.com/) from which to serve the js file.
Where it says “save analytics.js to” I have entered “wp-content/cache/caos-analytics/” (without the quotes), “/wp-content/cache/caos-analytics/” (with a slash in front of “wp-content”), and “/cache/caos-analytics/” (which was auto-generated for me).
I tried checking off position tracking code in the header as well as adding manually.
I can see the tracking code in the source code. It looks like this.
<!– This site is running CAOS: Complete Analytics Optimization Suite for WordPress –> <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://beseenontop-wpengine.netdna-ssl.com//wp-content/cache/caos-analytics/analytics.js’, ‘ga’)
window[‘ga-disable-UA-3675996-6’] = false
ga(‘create’, ‘UA-3675996-6’,
{
‘cookieName’: ‘caosLocalGa’,
‘cookieDomain’: ‘www.b-seenontop.com’,
‘cookieExpires’: ‘172800’
}
)
ga(‘set’, ‘anonymizeIp’, true)
ga(‘send’, ‘pageview’)</script>The code above looks odd to me, in particular this – “//https://beseenontop-wpengine.netdna-ssl.com//wp-content/cache/caos-analytics/analytics.js” where there is a double slash before the https and before wp-content.
I tried changing the way I entered my CDN address to see if that would make a difference but it does not. The code stays the same.
Anyway… In every instance, Google Analytics stops tracking visits.
I am running the Avada theme.
What am I missing? Any suggestions?
🙂 Donna
The page I need help with: [log in to see the link]
The topic ‘Analytics Stopped Tracking’ is closed to new replies.