Introduction: The requirement is to use a value in both a prop (for pathing reports) and an eVar (for
persistence) while minimizing the size of the server call.
Explanation of Methods:
A . A VISTA rule to copy the prop value to the eVar:
VISTA (Visitor Identification, Segmentation & Transformation Architecture) rules are server-side rules
that can copy values between variables. However, they are complex, incur additional costs, and do
not reduce server call size.
Reference: Adobe Analytics VISTA Rule Guide.
B . s.eVar1 = s.prop1:
Directly setting the eVar value to the prop value in the code is straightforward but does not minimize
the server call size as both values are separately included in the request.
Reference: Adobe Analytics Implementation Documentation on setting variable values.
C . s.eVar1 = "D=c1":
This method uses dynamic variable substitution, which reduces the server call size by referencing the
prop value (c1) directly in the eVar without duplicating the data in the request.
Verification: Check the Adobe Analytics server call in the Network tab to confirm the reduced size.
Reference: Adobe Analytics Documentation on Dynamic Variable Substitution.
D . A processing rule to copy the prop value to the eVar:
Processing rules can be used to copy values server-side, similar to VISTA rules but without the
additional cost. However, this approach does not minimize the server call size.
Reference: Adobe Analytics Processing Rules Guide.
Detailed Steps:
Dynamic Variable Substitution:
Set the eVar value to reference the prop value using the syntax s.eVar1 = "D=c1".
This tells Adobe Analytics to dynamically substitute the value of c1 (prop1) into eVar1 without
sending redundant data.
Example:
s.prop1 = "exampleValue";
s.eVar1 = "D=c1";
Benefits:
Reduced Server Call Size: By using dynamic variable substitution, the server call payload is smaller,
optimizing data transmission.
Efficient Data Handling: The value is captured once in the prop and referenced in the eVar,
maintaining efficiency and persistence.