Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

s.pageName not set on every page (SPA)

Avatar

Level 1

Hello, I have a single page app website and I've created an event in DTM for every push state/hash change to set s.pageName to document.title. This works on most pages as I see their page names being set correctly in the Adobe debugger.

However, some pages do not set at all and the only piece that's updated is the URL (non-page). Is there a reason why some pages will set the page name correctly while other pages only updates the URL (non-page) while the page name does not set at all?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Is the site where this is deployed accessible outside your firewall? If so, would you mind providing a few URLs where it is working and where it is not working?

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Is the site where this is deployed accessible outside your firewall? If so, would you mind providing a few URLs where it is working and where it is not working?

Avatar

Level 10

Thanks! I'll take a look and get back to you.