How to track any error on the purchase page for server-side error | Community
Skip to main content
Luca_Lattarini
Level 9
May 24, 2021
Solved

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

  • May 24, 2021
  • 1 reply
  • 1008 views

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

 

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 Charles_Thirupathi

@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.

1 reply

Charles_Thirupathi
Charles_ThirupathiAccepted solution
Level 4
May 24, 2021

@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.