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

Do i need to add every product code in Google ecommerce code?

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I've one website with more than 100 product in WordPress and woo commerce.

 

I know that's e-commerce code is: 1.

1. ga('ecommerce:addTransaction',

2. ga('ecommerce:addItem',

3. etc

 

If i add every product code (addTransaction, addItem etc) It'll be very long e-commerce code.

 

Do i need to add more than 100 products code separately (eg: product ID, SKU, affiliation etc) in Wordpress? Or any others code can i use in WordPress?

1 Expert replyverified_user

Do i need to add every product code in Google ecommerce code?

Rising Star
# 2
Rising Star

Hi Zunnun,

 

If you are adding a transaction then you need to add the required data for each product that was actually purchased (not all products you offer) in the product array.  

 

For impressions, lists, etc.  you pass back the products that have active impressions, in a list etc.  

 

Hope that helps...

 

Best,

 

Theo Bennett

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn