Viewing 3 replies - 1 through 3 (of 3 total)
  • At the moment, this plugin only supports one Google Analytics tracking code. It would be easily to accommodate your needs though.

    Basically, what you’d want to do is create an MU plugin that always adds your global GA code to the footer:


    add_action( 'wp_footer', 'dbx_always_add_ga' );
    function dbx_always_add_ga() {
    // Your GA code
    }

    Then you could make the plugin available for users to activate on their site, configure their tracking code, etc.

    Thread Starter Anointed

    (@anointed)

    Thanks for the info. Here’s what I have been using:
    https://bit.ly/NWmRrS

    Should be simple enough to bring the same concept over to this plugin. I do get what your saying with the snippet though, accomplishes basically the same thing.

    Yep. In the interest of keeping things simple, it would be best to just follow the snippet approach for now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Google Analytics] Individual site tracking in multisite?’ is closed to new replies.