Expand my Community achievements bar.

Best Practices for Configuring eVars and Event Rules

Avatar

Level 2

For a travel ticket booking site, we collect various data points throughout the user journey, including product type, category, customer details (non-PII), and other details at each step (product view, add to cart, details filled, checkout) before a purchase is made. I am considering three different setups for configuring these rules. 

SatyanveshMo_1-1757524236321.png

Could you help me understand the differences and recommend the ideal setup? Can we also use props to make the tracking better for any scenario?
Thank you

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 2

 

Props (traffic variables) are hit-based, not persistent, so they don’t carry forward like eVars. Props are useful when you want pathing analysis. 

 

With Setup 2 you ensures that each ecommerce milestone (Product View, Add to Cart, Checkout, Purchase) carries all relevant eVars — so even if persistence expires early, you still capture the right attribution.

Setup 1 is not ideal because it bloats every pageview unnecessarily and doesn’t leverage ecommerce rules properly.

 

Setup 3 is feasible if eVar expiration and persistence are carefully managed to ensure earlier attributes carry through to purchase, but it prioritizes lean payloads at the cost of more complex debugging and reporting.

 

Avatar

Level 2

Thank you for your reply.

For Setup 2, if the data is missing at data layer level but we still call the eVar in our hit, wouldn't this result in unspecified data?
Where as in setup 3, due to persistence, we might still have the data