WordPress.org

Ready to get started?Download WordPress

Forums

Google Analyticator
[resolved] SUGGESTION: Support tracking two codes (3 posts)

  1. Er_Maqui
    Member
    Posted 1 year ago #

    Hi,

    I'm using this plugin and i'm interested on a little new function:

    Google analytics support tracking two or more codes with the same tracker. I have a wordpress multisite, and i'm interested on this feature, to support two codes, my own code and the blog owner code.

    The code for support this are this:
    _gaq.push(['_setAccount', X-XXXXXX-1]);
    _gaq.push(['_trackPageview']);
    _gaq.push(['_setAccount', X-XXXXXX-2]);
    _gaq.push(['_trackPageview']);

    Obviously, the best configuration are having a config page on the network admin settings to set the network code, but this can be set having two fields on the blog settings page.

    Thanks for thinking on this feature.

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

  2. Video User Manuals
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Er_Maqui

    You could do this in the GA Admin Page - and there is a text area to add additional code before and after analytics is initialized.

    Maybe try that - Otherwise this isn't a very common request, so we'll sit on it for now.

    cheers,
    Ben

  3. Er_Maqui
    Member
    Posted 1 year ago #

    Hi,

    This solution are working perfectly. The only "problem" are who on the network i need to configure each blog separately.

    Thanks for all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic