• Resolved Er_Maqui

    (@er_maqui)


    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.

    https://www.ads-software.com/extend/plugins/google-analyticator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Thread Starter Er_Maqui

    (@er_maqui)

    Hi,

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

    Thanks for all.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘SUGGESTION: Support tracking two codes’ is closed to new replies.