Analytics
1.6K members online now
1.6K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Ecommerce conversion when using Multiple Analytics tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We set a second tracking code in all our sites so we can get an accumulated view of some of our sites.

It seems like we do get an accumulated view of the site analytics but we don't get any of the eCommerce data.

Is there something special we need to configure?

3 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Guy K
November 2015

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 4
Top Contributor
Hi Guy,

For ecommerce plugin multiple tracker support please see this guide: https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?hl=en#multitracke...

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 2
Top Contributor
Hi Guy,

Can you please provide more information about your setup? How are the tracking codes implemented?

Thanks

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 3
Top Contributor
Hi Guy,

did you add only the pageview default tracking as an additional tracker or do you send ecommerce data for the additional tracker as well?

Kind regards,
Zorin
Web analyst @ escapestudio.net
Marked as Best Answer.
Solution
Accepted by topic author Guy K
November 2015

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 4
Top Contributor
Hi Guy,

For ecommerce plugin multiple tracker support please see this guide: https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce?hl=en#multitracke...

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 5
Top Contributor
Multiple accounts = multiple tags Smiley Sad
You *might* be better off using the reporting API to pull consolidated reports.
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Ecommerce conversion when using Multiple Analytics tracking

[ Edited ]
Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
ga('create', 'UA-XXXXXXX-YY, { userId: userId});
ga('create', 'UA-XXXXXXX-ZZ', {'name': 'frontend', userId: userId, 'cookieDomain': 'api.domain.com'});
for(...){
ga('ec:addProduct', products[i]);
ga('frontend.ec:addProduct', product[i]);
}

var transaction = {
id: cartId,
revenue: total,
tax: tax,
shipping: shipping
};

ga('ec:setAction', 'purchase', transaction );
ga('send', 'pageview');

ga('frontend.ec:setAction', 'purchase', transaction);
ga('frontend.send', 'pageview');

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 7
Top Contributor
Is e-commerce activated on the consildated view?
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Ecommerce conversion when using Multiple Analytics tracking

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭
Yes

Re: Ecommerce conversion when using Multiple Analytics tracking

Top Contributor
# 9
Top Contributor

Have you run a test order and checked the analytics server calls using Tag Assistant or Hub'Scan?

VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Ecommerce conversion when using Multiple Analytics tracking

Visitor ✭ ✭ ✭
# 10
Visitor ✭ ✭ ✭
Thanks I found the issue due to the link you sent I wasn't aware that I need to load the plugin twice, once for every tracker.

ga('myTracker.require', 'ecommerce');