Untitled

 avatar
unknown
plain_text
13 days ago
1.3 kB
3
Indexable
A Merchandising eVar is a special type of eVar (conversion variable) in Adobe Analytics used specifically for tracking product-level data. Unlike regular eVars, which apply to a visitor's entire session, merchandising eVars associate data directly with specific products in the s.products variable.



A regular eVar captures a value and persists throughout a session or visit. However, in e-commerce, you often need to track data at the product level. A merchandising eVar ensures that each product in a multi-product order gets the correct attribution.



Example 1: Tracking Internal Campaigns (Banners) for Each Product
šŸ”¹ Scenario:

A user clicks on an internal banner ad for Nike Shoes.
Later, they add Nike Shoes and Adidas Shoes to their cart and buy both.
šŸ”¹ Incorrect Tracking (Normal eVar):
If we use a regular eVar, the last clicked banner would be assigned to both products, which is wrong because only Nike Shoes were influenced by the banner.

šŸ”¹ Correct Tracking (Merchandising eVar):
With a merchandising eVar, we correctly assign the banner only to Nike Shoes.

āœ… How We Set It in Code:

js
Copy code
s.products = "Shoes;Nike;1;120.00;eVar50=Banner A, Shoes;Adidas;1;130.00;";
āž” Result in Adobe Analytics:

Nike Shoes ā†’ "Banner A" (Correct)
Adidas Shoes ā†’ No banner assigned (Correct)


Leave a Comment