User ID tracked in prop shows more visit than evar why? | Adobe Higher Education
Skip to main content
Level 5
December 9, 2022
Question

User ID tracked in prop shows more visit than evar why?

We track user ID when a user login website. This user id is tracked in both prop and evar and both fires in all authenticated pages (as soon as logged in). But when I use prop in creating segment in "Hit level" something like

User ID doesnt exist I am seeing way more visits but if I create same hit level segment using evar I am seeing way less number.

 

Evar expiry set to "never"

 

 

 

 

 

 

 

This number is using props

 

 

 

This number is using evar

 

This is the segment

 

Ce sujet a été fermé aux réponses.

1 commentaire

yuhuisg
Community Advisor
Community Advisor
December 9, 2022

AA is reporting correctly.

Your prop tracks the value when that value has been set in a hit.

Your eVar also tracks the value when that value has been set in a hit. But since you have configured to have "Never" expiry, then that value gets attributed with all subsequent hits forever until a new value is tracked.

Here's a simple example:

Hit 17: prop set with "123", eVar set with "123".

Hit 18: prop not set with anything, eVar's "123" continues to be attributed here.

Hit 19: prop not set with anything, eVar's "123" continues to be attributed here.

Hit 20: prop set with "789", eVar set with "789".

See how the value "123" has been set with 1 hit based on the prop, but 3 hits based on the eVar.

So when you have your segment where the prop does not exist, the segment includes hits like Hit 18 and Hit 19. Yet, since the eVar value persisted, so when you have your segment where the eVar does not exist, the segment does not include Hit 18 nor Hit 19.

And so you can expect fewer visits with the eVar-based segment than with the prop-based segment.

aagk123Auteur
Level 5
December 9, 2022

In this case I am trying to find mobile device logged in visits vs not logged in visits which one I should use segment for user id prop or evar?

yuhuisg
Community Advisor
Community Advisor
December 9, 2022

I don't know. It depends on how and why you are tracking the same user ID to a prop and to an eVar. There was probably a good business reason for this. When you find out that reason, then you will know how to answer your question.