The experience on our site is if you add a product to your cart it takes you directly to the cart page. The scAdd event fires on the cart page in the global events area.
The only s.products we are capturing on the cart page is the one that is added to cart (currently).
We are looking to change where all of the items on the cart page will populate the s.products and configure our scView event. With our current experience where you go directly to cart after adding to cart, the scAdd event would fire globally but also allocate a scAdd to existing items in cart (duplication of scAdd).
Is it possible to populate the scAdd event in the s.product string or can you only populate in the global events?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The scAdd standard event has to be in the global event string to set and would apply to all products set at same time. I would recommend the below approach to meet your business requirements:
1.Upon individual product add on the product page fire a custom link s.tl call (non-page view) with the scAdd event and the specific individual product. It will allow you to track cart adds to product upon action as an intermediate step before the full cart view.
2.Upon display of the full Cart with all products you can then fire scView as part of full page view tracking call (Cart Page View) and it will apply to all products.
Best,
Brian
Views
Replies
Total Likes
Hi,
The scAdd standard event has to be in the global event string to set and would apply to all products set at same time. I would recommend the below approach to meet your business requirements:
1.Upon individual product add on the product page fire a custom link s.tl call (non-page view) with the scAdd event and the specific individual product. It will allow you to track cart adds to product upon action as an intermediate step before the full cart view.
2.Upon display of the full Cart with all products you can then fire scView as part of full page view tracking call (Cart Page View) and it will apply to all products.
Best,
Brian
Views
Replies
Total Likes