Success/failure of load | Community
Skip to main content
July 25, 2025
Solved

Success/failure of load

  • July 25, 2025
  • 4 replies
  • 416 views

Can we track Success/failure of load on a page within adobe analytics. What metrics dimension do we use to track it for reporting ?

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 EurosIMS

Hi @swatiti,

If you want to track 'Page not found'/errors, then as long as you know it's an error page, you can pass the value into the pageType variable (with an event as well if you wanted):

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/page-vars/pagetype

If you want to get more granular, you can use the native performance timing in the browser, window.performance: https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/Navigation_and_resource_timings  

& use values from there to work out how long various elements took to load. You can then fire an event if, for example, certain things didn't happen, or took too long to happen.

You could track Success of page load, however if you are tracking pages that haven't loaded, then the remainder by definition will have all loaded successfully. 

4 replies

EurosIMS
EurosIMSAccepted solution
Level 3
July 25, 2025

Hi @swatiti,

If you want to track 'Page not found'/errors, then as long as you know it's an error page, you can pass the value into the pageType variable (with an event as well if you wanted):

https://experienceleague.adobe.com/en/docs/analytics/implementation/vars/page-vars/pagetype

If you want to get more granular, you can use the native performance timing in the browser, window.performance: https://developer.mozilla.org/en-US/docs/Web/Performance/Guides/Navigation_and_resource_timings  

& use values from there to work out how long various elements took to load. You can then fire an event if, for example, certain things didn't happen, or took too long to happen.

You could track Success of page load, however if you are tracking pages that haven't loaded, then the remainder by definition will have all loaded successfully. 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 25, 2025

In addition to the "pageType" dimension (Which is a simple boolean - either doesn't exist or passes "errorPage", I like to also make adjustments to other dimensions in our tracking... as in, I make sure our custom dimension for "Page Type" (which tracks things like "home", "article", "section", etc...) is set to "error" so that "article or section, etc URLs that 404 aren't counted as those pages" in our reporting....I also make sure my pageName follows a naming convention for tracking error pages... 

 

Basically, the approach you take is up to you.... the standard "pageType" dimension that @eurosims mentioned will basically show you the URL of all pages labeled as an errorPage.

 

But you can do additional custom tracking, custom dimensions, custom metrics, etc that help give you additional context.

 

 

KumarRishii
Level 5
July 26, 2025

Yes, you can track page load success/failure in Adobe Analytics, but it requires custom setup. Use JavaScript to detect load status and send it as a custom eVar (e.g., "page load success/error") and optionally a custom event. In reports, use the eVar as a dimension and the custom event or page views as metrics. This enables tracking and reporting on successful vs. failed page loads.

Let me know if you want specific Implementation Approach 

purnimajena
Level 3
July 29, 2025

Hi @swatiti ,

Yes, Adobe Analytics can track success/failure of page or module loads with a custom setup.

you can use Custom Events: Define events for success (eventX) and failure (eventY).Load Status (eVar/prop): Capture result like "success" or "API_Error" in any available variable.Page Type (eVar/prop): Track the type of page (e.g., Home, Product Detail, Search Result) using eVar.Adobe Launch Rules: Fire these events and eVars based on specific conditions—API responses, JavaScript errors, or empty data loads.

For Reporting Use dimensions like Page, Page Type, and Load Status.Use metrics: success and failure events.
Let me know if this helps or you are looking in to something specific.