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

Capture Ajax page update

Avatar

Level 2

Hi Adobe Community,

Sorry if this is a newbie question.

I am implementing Adobe Analytics using Javascript. For some values like page title, I can assign it when the page load.

However, I noticed that some of our metrics cannot be captured this way. For values updated from Ajax call, these values do not depend on page load.   how can we capture them?  Are there functions / plugins that can help? Any examples?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 3

yuanb​ : You could create here a event based rule with s.t() call in DTM if triggers any event while navigating to next action.

Another approach can be creating a direct call rule with help of developer and assign adobe parameters to it (Create conditions for direct-call rules ). This would be perhaps best and feasible solutions.

Other solutions can be use of local storage keys /data layer based keys where you could set page title once key is set in the browser.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

yuanb​ : You could create here a event based rule with s.t() call in DTM if triggers any event while navigating to next action.

Another approach can be creating a direct call rule with help of developer and assign adobe parameters to it (Create conditions for direct-call rules ). This would be perhaps best and feasible solutions.

Other solutions can be use of local storage keys /data layer based keys where you could set page title once key is set in the browser.