• Hello, First: great plugin, it has mate tracking actions a breeze.

    Second: I have a situation that I cannot figure out the best method of approach and if your plugin is able to accommodate. Thought I would ask before I banged my head against any other walls today.

    Background:

    I am running a multisite with a bout 6 sites. Each site has a version of your plugin and their own analytics property so the users can setup and track what they need on their own. It is working wonderfully.

    What I am trying to accomplish:

    I need to aggregate all of the site info including all of the events into one analytics property. I can do this by adding the the tracking code to the body as usual, ticking the “Don’t use the GA tracking code” box in WP GA Events and adding some extra code to the tracking code in the body

    added code in the body

    ga('create', 'UA-66303917-1', 'auto', 'rollup');
                      ga('rollup.send', 'pageview');

    The above code does not track events, but adding something like this would:

    ga('send', ga('rollup.send', 'pageview', 'event', {
      'eventCategory': 'Category',
      'eventAction': 'Action',
      'eventLabel': 'Label'
    });

    Should I add this code to your plugin code itself under

    ga('create','$id', '$domain');
                      ga('send', 'pageview');

    since it will be active on all of the multisite installations? I have not been able to get it to work so far. or is this outside the limitations of this plugin?

    Any help would be much appreciated.

    Thanks,

    -Jef

    https://ww.wp.xz.cn/plugins/wp-google-analytics-events/

Viewing 1 replies (of 1 total)
  • This may be a dumb response, but I’m currently experimenting with using GTM for the network-wide goal set ups, and then using and additional universal analytics set up for the individual sites. That way each site can track data from one account, using the universal analytics code, and then the “headquarters” site can use all the info sent to it from GTM. I don’t know if that makes sense, and I’m only in experimentation mode right now, but since this is similar to what I’m trying to do, I thought I’d let you know.

Viewing 1 replies (of 1 total)

The topic ‘MultiSite & Multiple Tracking Codes’ is closed to new replies.