Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

How to track any error on the purchase page for server-side error

Avatar

Community Advisor

Hello guys,

Any suggestion how to track any error on the purchase page for server-side error? In which case we ca set s.PageType property to errorPage?

Thanks

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

@Luca_Lattarini s.pageType variable is used to track 404 pages or error pages, during 404 or error page occurrences only we have to set s.pageType to errorPage. For tracking any other error's happening on site we have to implement using custom variables, for capturing error message either we can request application Dev team to pass error messages(whenever error occurs) on dataLayer or if there is an any unique identifier for error messages then we can grab the error message using that & then we can assign it to custom variable.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

@Luca_Lattarini s.pageType variable is used to track 404 pages or error pages, during 404 or error page occurrences only we have to set s.pageType to errorPage. For tracking any other error's happening on site we have to implement using custom variables, for capturing error message either we can request application Dev team to pass error messages(whenever error occurs) on dataLayer or if there is an any unique identifier for error messages then we can grab the error message using that & then we can assign it to custom variable.