help with evar allocation and report | Community
Skip to main content
Level 2
March 6, 2026
Question

help with evar allocation and report

  • March 6, 2026
  • 3 replies
  • 24 views

Assuming I have an evar1 on my site which triggers on every product page to capture the color of  the product. And assuming I had 2 visits to my site. Let’s say that the evar1 is  a regular evar, expires on visit, allocation last touch, and assuming the following scenario:

 

Pages visited

User A - Visit #1

product page 1-
color = blue
evar1 is set. value = blue
proudct page 2
color = red
evar1 is set. value  = red
product page 3
color=green
evar1 is set value = green
home page evar1 is not set

 

Pages visited

User B - Visit #1

home page evar1 is not set 
product page 3
color=green
evar1 is set value = green
marketing page A evar1 is not set
marketing page B evar1 is not set
   

 

 


Question:​​​​​s:
based on the above, if i build a report like the one below, what should i see and why?

 

evar1 visits evar1 instances page views
unspecified      
blue      
green      
red      

 

3 replies

MandyGeorge
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 6, 2026

Assuming evar1 is visit expiry, not a merch evar, and last touch.

Also assuming that these are the ONLY calls in the visit, that these are all page views, that there are no other page views before/after, and no other custom link calls happening.

I believe your table should look like this

 

evar1

visits

evar1 instances

page views

unspecified

 1

 0

 1

blue

 1

 1

 1

green

 2

 2

 5

red

 1

 1

 1

 

As for the why - an evar will be unspecified only if there is no value set or persisted. So it will only set in the second visit.

Green is set in both visits, plus there are pages after it is set with no value set, so that value will persist for the page views. The last touch allocation means that the last value seen is the one that is going to persist. 

Level 2
March 6, 2026

Thank you!
I dont understand the last touch piece then.
At the visit level, i thought that Adobe would look at all the values of the evar1 for the visit, and take the last value (because the evar is configured to last touch).
So in the case of the first visit, the last value (set value, not persisted value) is green. And same thing for the second visit.

So, i was expecting the table to show 2 visits for green and 0 visits for all the other colors (included undefined).

How is my thinking wrong



 

 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 6, 2026

Hi, “Last Touch” doesn’t mean that previous values are overwritten… it just means that the last value set will continue to be set to all pages that follow. The value “persists” until it is overwritten or it expires.

 

The blue and red values were still part of those products, and still part of those visits; and they will still appear in your reporting.

AmitVishwakarma
Community Advisor
Community Advisor
March 6, 2026

Hi ​@VirginieRe2 ,

With your setup (visit expiry, last touch), the report will look like:

Why (in one line):

  • Instances count only when the color is explicitly set,
  • Page Views follow the last color that was set (and persisted for the visit),
  • Visits count once for each color that appears at least once in that visit (including a visit where the color is never set -> unspecified).
Amit Vishwakarma - Adobe Commerce Champion 2025 | 16x Adobe certified | 4x Adobe SME
Level 2
March 6, 2026

Thank  you! Please see the response to Mandy above.
I dont understand then how the last touch plays out. It seems almost like it’s irrelevant whether it’s last touch or first touch? Would the result have been different if it was a first touch configuration for that evar1?

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 6, 2026

First Touch will use the first value set within the visit, and ignore all other set values until the visit is completed.

 

If you had “first touch” set as your attribution, then you would have only “blue” in the first visit, and unspecified and “green” in the second. (Adobe will not overwrite values for hits in the past, but unspecified is not a true value, and will not count as the “first touch” either)

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
March 6, 2026

Hey ​@VirginieRe2 

 

The others have already posted the table that you specified, but I would like to add an alternate table that also reflects the “page” as part of the visualization

 

  Visits eVar1 Instances Page Views
Page 2 4 8
  Home 2 0 2
    eVar1 2 0 2
      Unspecified 1 0 1
      green 1 0 1
  Product 1 1 1 1
    eVar1 1 1 1
      blue 1 1 1
  Product 2 1 1 1
    eVar1 1 1 1
      red 1 1 1
  Product 3 2 2 2
    eVar1 2 2 2
      green 2 2 2
  Marketing Page A 1 0 1
    eVar1 1 0 1
      green 1 0 1
  Marketing Page B 1 0 1
    eVar1 1 0 1
      green 1 0 1

 

 

Even though you are not setting your eVar1 value on your home page or your marketing pages, your eVar is set to a VISIT expiry… so the value will persist until the end of the visit, or a new value is set.

 

So in the expanded table, you can see that there are page views associated to your eVar1 on Home and your Marketing Pages, even through there is no instance being set.

 

In most cases, you wouldn’t want your eVar to be set to Visit, as it pertains specifically to the product, and not any other subsequent pages.

 

However, IF your eVar is a merchandising eVar, that changes the behaviour significantly, as the value would only then be associated to calls where the s.product includes the specific product.

 

For example, if I were to send this on product 1:

s.products = “catX;product1;;;;eVar1=blue”;

s.events = “prodView”;

 

The eVar “blue” will not be associated to any pages beyond the product page… and later, if I were to do “Add to Cart” for product1, I could easily just do:

s.products = “catX;product1”;

s.events = “scAdd”;

 

eVar1 “blue” would still be associated to this call, even though its not explicitly set, because of the Visit level attribution (specifically against “product1” and no other product.

 

Let’s say I do an order:

s.products = “catX;product1,catY;product2”;

s.events = “purchase”

 

Product1 would be associated to eVar1 “blue” and Product2 would be associated to eVar1 “red”