Using evars rather than props?
Is there a purpose to mapping a variable to both eVar and prop? Or is it best practice to map to only eVar or only prop (not both)?
Is there a purpose to mapping a variable to both eVar and prop? Or is it best practice to map to only eVar or only prop (not both)?
Hi
According to me, in most cases, mapping a value to both an eVar and a prop is unnecessary and not considered best practice anymore.
Earlier, props were used for pathing and real-time reporting, while eVars were used for persistence and attribution. These days, eVars support persistence, attribution, segmentation, and participation, which covers the majority of use cases that props were originally meant for.
Best practice is -
Use eVars for anything you want to analyze over time, attribute to conversions, or segment users by.
Use props only when you specifically need hit-level pathing or very short-lived values that should not persist beyond the hit.
Mapping the same value to both should only be done for a clear, intentional reason (such as legacy reporting or specific pathing needs). Otherwise, it adds complexity without meaningful benefit.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.