WordPress.org

Ready to get started?Download WordPress

Forums

WP Google Analytics
Individual site tracking in multisite? (4 posts)

  1. Anointed
    Member
    Posted 1 year ago #

    Will this plugin allow me to input a global analytics UI code snippet in as well as snippets for each of my individual multisites so that my customers can track their own results?

    *I use the wpmu plugin which allows tracking of both global and individual sites, don't want to loose that ability as my users love it.

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

  2. Daniel Bachhuber
    Hand Built
    Posted 1 year ago #

    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.

  3. Anointed
    Member
    Posted 1 year ago #

    Thanks for the info. Here's what I have been using:
    http://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.

  4. Daniel Bachhuber
    Hand Built
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.