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

Order Coupon Implementation on Tag manager

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

I am trying to implement enhanced e-commerce order coupon on tag manager, but the following code is not a data layer code that i could track on tag manager.

Can anyone help me on how to implement it on tag manager?

 

ga(‘ec:setAction’, ‘purchase’, { // Transaction details
‘id’: ’12345′, // (Required) Transaction id (string).
‘affiliation’: ‘Online Store’, // Affiliation (string).
‘revenue’: ’169′, // Revenue (currency).
‘tax’: ’0′, // Tax (currency).
‘shipping’: ’0′, // Shipping (currency).
‘coupon’: ‘FreeShipping’ // Transaction coupon (string).
});
1 Expert replyverified_user

Re: Order Coupon Implementation on Tag manager

Top Contributor
# 2
Top Contributor
Hi Filaretos T :-)
Welcome to the Google Analytics Advertiser Community :-)
For help with GTM questions, best place to ask would be the GTM Help Forum
https://productforums.google.com/forum/#!forum/tag-manager

Thanks
Bronwyn :-)
Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

Re: Order Coupon Implementation on Tag manager

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thank you very much