Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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")?

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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")?