WordPress.org

Ready to get started?Download WordPress

Forums

Google Analyticator
Dashboard widget not showing: "Uncaught ReferenceError: ga_visits not defined" (2 posts)

  1. dtbaker
    Member
    Posted 1 year ago #

    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?

    Cheers!
    dtbaker

    http://wordpress.org/extend/plugins/google-analyticator/

  2. dtbaker
    Member
    Posted 1 year ago #

    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.

    :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.