I have two rules for page views. Once is the default Page view, and the other is the custom page view.
I configured the page path evar with a value from the data Layer in the XDM object for both page views. However, the evar was not rendered in the network call or the debugger. For default page views I didn't get the value for the evar, and for the custom page views, the value was getting. I will attach the Rule approach for the default page views below.
In this you can see the empty value for the evars
1. Here, PageView-test is a default page view, and PageView{AA} is a custom page view.
2. This is the XDM object for the default page view. Here I gave the evar for the Path and web page details for the default page view.
3. Rule for the default page view,
can anyone, please help me to set the evar for this.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
It looks like your eVar value isn’t being captured in the default pageview ("PageView-test") because when that rule fires (as the Launch library loads), the data element pulling from the dataLayer
returns undefined
.
To test this: try hardcoding a value into the eVar data element temporarily and check if the "PageView-test" rule then captures it.
To fix this: ensure the dataLayer
values are available before the "PageView-test" rule fires or adjust the rule to fire after the page object is fully set.
Views
Replies
Total Likes
Thanks for the input. I will try this by keeping the default value in rule
Views
Replies
Total Likes
Why dont you map the evar from adobe analytics to the equivalent one to schema in custom code?
Views
Replies
Total Likes
I am not using any custom code in this rule. whether I need to add the custom code to this rule.
Views
Replies
Total Likes
Views
Likes
Replies