Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards
SOLVED

Success/failure of load

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 4

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. 

View solution in original post

4 Replies

Avatar

Correct answer by
Level 4

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. 

Avatar

Community Advisor and Adobe Champion

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.

 

 

Avatar

Level 5

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 

Avatar

Level 3

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.