Support » Plugin: Google Analyticator » Dashboard widget not showing: "Uncaught ReferenceError: ga_visits not defined"

  • Hey guys!

    Using this on a multisite install. Works great! Except the dashboard widget does not display on one of the websites (it does display on the other website).

    The javascript error is:

    Uncaught ReferenceError: ga_visits is not defined

    and it’s on this line of code:

    // Handle displaying the graph
    jQuery('.ga_visits').sparkline(ga_visits, { type:'line', width:'100%', height:'75px', lineColor:'#aaa', fillColor:'#f0f0f0', spotColor:false, minSpotColor:false, maxSpotColor:false, chartRangeMin:0 });

    Any ideas what may be causing this to fail on one website but work on another?


Viewing 1 replies (of 1 total)
  • I have tried disabling all other plugins except this one and it still causes the javascript error. Something weird on this website, not sure where to look, just enabled this on a 3rd multisite website and it worked fine.

    So the first enabled install doesn’t work, but the 2nd and 3rd multisite work fine.

    I have deauthenticed and re-authenticated the first website with google analytics as well and that didn’t solve it.


Viewing 1 replies (of 1 total)
  • The topic ‘Dashboard widget not showing: "Uncaught ReferenceError: ga_visits not defined"’ is closed to new replies.