WordPress.org

Forums

Google Analytics by Yoast
Is this compatible with Multisite? (4 posts)

  1. dmcwhinnie2
    Member
    Posted 2 years ago #

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

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

  2. Ben Hansen (ubernaut)
    Member
    Posted 2 years 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 2 years 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 (ubernaut)
    Member
    Posted 2 years 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

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.