Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Dimension page using web SDK mixes URL with page names in adobe analytics

Avatar

Level 1

I have a configuration with web SDK where I populate my data variable XDM with values name and URL within web

juan43_0-1750328945748.png

I use a data element that reads a value from the datalayer, but then I see data with URL and data with page names. 


anyone has experienced this?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi @juan43 ,

 

Correct me if I am reading the issue right?

webEvents[0].xdm.web.webPageDetails.name field is sometimes getting URLs and sometimes page names, whereas it should reflect page name everytime?

If so, then it suggests a problem with how your data layer and the Adobe Web SDK are interacting. 

The most probable cause is that your data layer is being populated inconsistently. You might be pushing both the URL and the page name to the data layer at different times or under different conditions. The Web SDK then picks up whichever value is present in the data layer when the event is fired.

 

You could try to look for below two corrections:

1. Double-check that your data element in the Web SDK is correctly configured to read the page name from the data layer. It's possible it's accidentally reading the URL instead.

2. If you have multiple data elements that might populate the webPageDetails.name field, ensure the correct one has the highest priority.

 

Thanks,

Jyoti

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi @juan43 ,

 

Correct me if I am reading the issue right?

webEvents[0].xdm.web.webPageDetails.name field is sometimes getting URLs and sometimes page names, whereas it should reflect page name everytime?

If so, then it suggests a problem with how your data layer and the Adobe Web SDK are interacting. 

The most probable cause is that your data layer is being populated inconsistently. You might be pushing both the URL and the page name to the data layer at different times or under different conditions. The Web SDK then picks up whichever value is present in the data layer when the event is fired.

 

You could try to look for below two corrections:

1. Double-check that your data element in the Web SDK is correctly configured to read the page name from the data layer. It's possible it's accidentally reading the URL instead.

2. If you have multiple data elements that might populate the webPageDetails.name field, ensure the correct one has the highest priority.

 

Thanks,

Jyoti

Avatar

Level 1

I supposed so, then I had configured a default value. And now I see that the default value is replacing all the URLs.Thanks a lot