Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Analytics Champion Program are open!
SOLVED

Can adobe sitecatalyst capture broken links - HTTP 404 error ??

Avatar

Level 1

HI,

does anyone in the forum have experience or idea how can we can derive this.

Broken links are not a good experience for the end user and also not for the company owning the website.

So, if we can capture those can easily try to fix it.

 

Thanks

Sumon

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Keep in mind, the suggested solutions still require that you have tracking on those 404 pages, and you pass the correct tag.

 

There is one minor issue, IF your site redirects all your 404 pages to a generic URL like https://www.domain.com/404.html" then this is the URL that will be tracked in the report... if the URL stays as "https://www.domain.com/ertertertyetyaw" then this will give you proper visibility into which pages are 404ing...

 

If you have the redirect scenario, you may need to work with your developers to pass the "pre-redirected url" so that you can track it with some custom tracking on the 404 page

View solution in original post

3 Replies

Avatar

Employee

Hey @sumondutta I believe this should help -https://experienceleague.adobe.com/docs/analytics/components/dimensions/pages-not-found.html?lang=en

 

Pages not found dimension retrieves data from the pageType and g query strings in image requests. If the pageType query string equals errorPage, the g query string (page URL) is recorded. AppMeasurement collects this data using the pageType variable. If the pageType variable is not defined or set to anything other than errorPage, no data for this dimension is collected.

Avatar

Level 10

And Adobe has created a pages not found report and a pages not found metric in Workspace.

RobertBlakeley_0-1693870698952.png

 

Avatar

Correct answer by
Community Advisor

Keep in mind, the suggested solutions still require that you have tracking on those 404 pages, and you pass the correct tag.

 

There is one minor issue, IF your site redirects all your 404 pages to a generic URL like https://www.domain.com/404.html" then this is the URL that will be tracked in the report... if the URL stays as "https://www.domain.com/ertertertyetyaw" then this will give you proper visibility into which pages are 404ing...

 

If you have the redirect scenario, you may need to work with your developers to pass the "pre-redirected url" so that you can track it with some custom tracking on the 404 page