Title: Analytics Stopped Tracking
Last modified: April 2, 2019

---

# Analytics Stopped Tracking

 *  Resolved [donna](https://wordpress.org/support/users/donnab-seenontopcom/)
 * (@donnab-seenontopcom)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/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/](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fanalytics-stopped-tracking%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/analytics-stopped-tracking/#post-11385832)
 * You need to enter the CDN Url without the protocol (http:// or [https://](https://wordpress.org/support/topic/analytics-stopped-tracking/?output_format=md)).
   Could you try entering it like this? beseenontop-wpengine.netdna-ssl.com
 *  Thread Starter [donna](https://wordpress.org/support/users/donnab-seenontopcom/)
 * (@donnab-seenontopcom)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/analytics-stopped-tracking/#post-11388175)
 * Thank you.
    That worked.
 * For anyone else reading this, where it says “save analytics.js to” I have entered“/
   cache/caos-analytics/” (without the quotes). No “/wp-content/” in front.
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/analytics-stopped-tracking/#post-11388183)
 * Nope. The ‘save’-path is relative to the wp-content folder. So adding wp-content
   in front of it will result in wp-content/wp-content/your/save/folder.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Analytics Stopped Tracking’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/analytics-stopped-tracking/#post-11388183)
 * Status: resolved