Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Url is getting ingested into adobe analytics

Avatar

Level 1

Hi Community,

 

We are trying to ingest pageNames to adobe analytics but in some cases instead of pageName, pageUrl is getting ingested, due to this inconsistency data is not looking correctly in adobe analytics dashboard.

 

Is there any configuration required at code level so that I can fix this type of issue.

Please find the attachment below.

 

Thanks,

sakhtar

 

Screenshot 2022-09-21 at 2.28.49 PM.png

Screenshot 2022-09-21 at 2.30.29 PM.png

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @sakhtar,

 

It's because pageName is not defined/not working as expected for those URLs. Make sure pageName (s.pageName) defined in the implementation works for all those URL's.

 

If the pageName (s.pageName) variable is not defined then the respective URL(s.pageURL) value of the page will be assigned to pageName by default.

 

Thanks,

Charles

View solution in original post

4 Replies

Avatar

Correct answer by
Level 4

Hi @sakhtar,

 

It's because pageName is not defined/not working as expected for those URLs. Make sure pageName (s.pageName) defined in the implementation works for all those URL's.

 

If the pageName (s.pageName) variable is not defined then the respective URL(s.pageURL) value of the page will be assigned to pageName by default.

 

Thanks,

Charles

Avatar

Level 1

As you can see in above screenshots, pageName and pageUrl is present in dashboard
eg: 

pageName: edit-campaign:basic-details-react

pageURL: https://sophia-ui-local.corp.adobe.com:8091/ui/campaigns/48165/basic-details

 

pageName is already assigned to every route we have in our application, above is just one example from them.

Adobe Experience Platform Debugger Screenshot

Screenshot 2022-09-21 at 3.15.38 PM.png

 

In above screenshot, as you can see 2 entries are present, first one is when application is loading and second one when application is fully loaded, in both the cases pageURL is same , but in first one pageName is not present or not defined.

Pls Note: First entry is not coming from our code.
can we handle these type of scenarios.

Avatar

Level 1

Hi @Charles_Thirupathi ,

 

Even I am seeing a similar pageName Issue. in my case, pageName is Loading fine for all domains except for the following URL - https://registration.cadence.com/CadenceEcomAppRegScreen?appcode=ecom&isNewUser=true&langcode=en

https://registration.cadence.com/CadenceEcomLoginScreen?appcode=ecom&langcode=en&logout=true

 

Other Domains are working fine

URL - https://www.cadence.com/en_US/home.html

 

we are calling pageName from DataLayer - digitalData.page.pageInfo.pageName 

but s.pageName is not picking up. Snapshots Attached below 

user08137_0-1674838109225.png

 

Is there any configuration error I missed? Please Let me know

 

Thank You

Mahesh

Avatar

Level 1

Thanks Charles for jumping on to the call and solving the issue on priority