Analytics
2.3K members online now
2.3K 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

Can enhanced ec"ec:setAction", "purchase" and "ecommerce:addTransaction" apear on the same page?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have implemented ecommerce tracking all with final transaction like this

ga('ecommerce:addTransaction', {'id':'9384753', 'affiliation':'Company', 'revenue':'63.85', 'shipping':'0', 'tax':'0', 'currency':'EUR'});

 

Later on I added enhanced ecommerce tracking and with it 

ga("ec:setAction", "checkout", {"step": 5 });ga("ec:setAction", "purchase", {
"id": "9384753",
"revenue": 63.85
});

Now, both snipets exist on the page.

As a result (or maybe not because of that I don't know) I'm getting double values for Product Revenue, Unique purchases etc.

Can someone help me with this?

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Vladimir D
September 2016

Re: Can enhanced ec"ec:setAction", "purchase" and "ecommerce:addTransactio

Top Contributor
# 2
Top Contributor
Hi,

You cannot use classic ecommerce and enhanced ecommerce at the same time for the same property. Please check the document below about the options you have:

https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce

Let me know if you have questions.

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

Marked as Best Answer.
Solution
Accepted by topic author Vladimir D
September 2016

Re: Can enhanced ec"ec:setAction", "purchase" and "ecommerce:addTransactio

Top Contributor
# 2
Top Contributor
Hi,

You cannot use classic ecommerce and enhanced ecommerce at the same time for the same property. Please check the document below about the options you have:

https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce

Let me know if you have questions.

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