Repeating Page Views were send in SPA with the Data Element "Page Path" Change by Adobe Launch | Community
Skip to main content
Level 3
January 21, 2022
Solved

Repeating Page Views were send in SPA with the Data Element "Page Path" Change by Adobe Launch

  • January 21, 2022
  • 1 reply
  • 1319 views

I use Adobe Launch to track the page views in SPA Single Page Application

I know some use the page url change as a event to track as page view. so i use similar method, I use the event -data element change - "%Page Path Name%" change for track the page views.

 

Most page views were send correctlly, however, every time I open the SPA, the first load page will be sent the totolly same hits in the adobe debugger. ONLY the first page view is repeatingly send. 

 

And im sure the page path were totally the same within the repeating servercalls.

 

Just want to know why it happends.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by dwright-adobe

Hi @debbynpl , it sounds like you are getting calls from both the "app load" and the "view change" when your intention is to only make calls on the "view change". Does your data element change twice on the first load of the app? Or is there another rule which is firing on on the page load (via "Library loaded - Page Bottom", "DOM Loaded", or "Window Loaded")?

1 reply

dwright-adobeAdobe EmployeeAccepted solution
Adobe Employee
January 21, 2022

Hi @debbynpl , it sounds like you are getting calls from both the "app load" and the "view change" when your intention is to only make calls on the "view change". Does your data element change twice on the first load of the app? Or is there another rule which is firing on on the page load (via "Library loaded - Page Bottom", "DOM Loaded", or "Window Loaded")?

DebbyNPLAuthor
Level 3
February 10, 2022

Thank you!!!! really helpful!!!!