WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Is this compatible with Multisite? (4 posts)

  1. dmcwhinnie2
    Member
    Posted 1 year ago #

    I have seen this asked several times, but no definitive answer.

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. Ben Hansen
    Member
    Posted 1 year ago #

    PLEASE! PLEASE! PLEASE! PLEASE! PLEASE! PLEASE! PLEASE!
    i have to resort to using 2 separate plugins cause i don't want give up on your features but apparently i'm doing something in unsupported.

    thanks for all your hard work on the awesome plugin btw!

  3. larcher
    Member
    Posted 1 year ago #

    Just fixed this locally for my multi-site install.

    In admin/yst_plugin_tools.php, on line 16:

    var $accesslvl = 'edit_users';

    Which means a users has to have that capability to see the plugin options page. On a single site install, this is fine, since Administrators have that capability. But in Multisite, only Super (Network) Admins have it. ( see the Roles and Capabilities page )

    I changed the line to this:

    var $accesslvl = 'edit_theme_options';

    ... and everything seems to be working so far, even for regular (non-Super) Admins, since they have this capability by default in both single- and multisite.

  4. Ben Hansen
    Member
    Posted 1 year ago #

    that's pretty cool thanks for sharing! still looking to put my own tracking code in addition to theirs though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.