Expand my Community achievements bar.

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.