Trusted Web Eservices Logo

What Does 404 Error Mean?

A 404 error occurs when a webpage cannot be found on a server. This error appears when users try to access a web page that has been deleted, moved, or never existed. The “404” is an HTTP status code that tells browsers the requested page is not available.

Common causes include mistyped URLs, broken links, or removed content. Users see this error message in their web browsers with text like “Page Not Found” or “404 Error.”

Website owners can create custom 404 pages to help visitors find the correct information and stay on their sites. Many sites now use friendly 404 pages with helpful navigation options.

4 Easy Steps to Find 404 Pages in GA4 (Google Analytics 4)

Google Analytics 4 allows surface 404 errors directly without any tag implementation.

  • Accessing the GA4 Engagement Reports
  • Navigating to the Pages and Screens Report
  • Adding Secondary Dimensions
  • Search for the 404 Title

Step 1: Accessing the GA4 Engagement Reports

  • Navigate to your GA4 property.
  • Go to the Report > Engagement > Pages and Screens in the left sidebar.
accessing the ga4 engagement reports

Step 2: Navigating to the Pages and Screens Report

  • Change the main dimension from “Page path and screen class” to “Page title and screen class”.
  • Search for common 404 indicators like “Page Not Found“.
page and screen class
This surfaces pages generating 404 errors but is limited to showing only numbers. If you want to know which URLs belong to those 404 Errors, follow the below Step 3.

Step 3: Adding Secondary Dimensions

Further, analyze 404 errors by adding secondary dimensions:

  • Click on the + icon near the primary dimension.
  • Go to the “Page/Screen” and select “Page path and screen class”.
adding secondary dimensions
adding page path and screen class ga4

Step 4: Search for the 404 Title

  • Search “Page not found” in the search box.
  • Now, you can see all the 404 errors with a full list of URLs.
page not found with urls ga4

Advanced 404 Error Reporting in GA4

Create custom explorations for detailed 404 analysis.

  • Navigate to Explore
  • Create a New Exploration Report
  • Set the Dimensions
  • Add Dimensions to the Rows
  • Set the Metrics
  • Add Metrics to the Values
  • Add Filters
  • Setup the Filters

Step 1: Navigate to Explore

Click on “Explore” in the left-hand navigation panel.

navigate to explore ga4

Step 2: Create a New Exploration Report

You can begin a new exploration by clicking on the blank Report marked with a + sign and giving it a name.

create a new exploration report

Step 3: Set the Dimensions

To add dimensions, click the + icon located next to the dimension tab.

set dimension ga4
In the Predefined tab, search for Page / Screen and select below dimensions:
  • Page path and screen class
  • Page referrer
  • Page title
select dimension
Then, scroll to ‘Event‘ and choose ‘Event name.

Once done, click the ‘Confirm‘ button to add the dimensions to your exploration.

add event

Step 4: Add Dimensions to the Rows

Double-click or drag the “Page path and screen class” and “Page referrer” dimensions to add them to the Rows box.

add dimension to rows

Step 5: Set the Metrics

To add metrics, click the + icon located next to the metrics tab.

set the metrics ga4
In the Predefined tab, search or scroll to “Events” and select “Event Count. Once done, click the ‘Confirm’ button.
add event count

Step 6: Add Metrics to the Values

Double-click or drag Metrics to add it to the Values box.

add metrics to values

Step 7: Add Filters

Move the “Page title” and “Event name” dimensions into the Filter box within the Tab settings panel

add filters

Step 8: Setup the Filters

  • For the Page title filter, enter the values related to your 404 page, which may include options like “Page not found,” “Page unavailable,” or “Error 404.”
  • In the Event filter, choose “exact match” and specify “page_view.”
add page title filter
add event name filter
Finally, select Apply for both filters. Your exploration will now present the data shown below.
404 exploration report data ga4

Final Thoughts

Tracking and resolving 404 pages in Google Analytics 4 is essential for maintaining a seamless user experience and protecting your SEO performance. By setting up custom events and reports, you can easily monitor and address broken links, ensuring that visitors stay engaged and search engines continue to rank your site favorably. Regularly analyzing these errors and taking proactive steps—such as implementing redirects and fixing internal links—will help keep your website error-free and user-friendly. By following this guide, you’ll be well-equipped to manage 404 errors efficiently, strengthening your site’s overall health and online presence.

FAQs Related to Finding 404 Pages in Google Analytics 4

What are some common indicators of 404 errors in GA4 reports?

Some common indicators of 404 errors in GA4 reports are page titles like “Page Not Found”, “404”, “Page Error”, etc. The page path dimension can also surface problematic URLs.

How can I track dynamic URLs that change parameters in GA4?

Enable URL query parameter tracking in the GA4 property settings. This allows tracking of URLs with changing parameters, such as ID values.

Why are my 404 errors not showing up in GA4?

Common reasons for 404 errors not showing in GA4 include incorrect tag implementation, fragments blocking tracking, and a lack of URL parameter settings. Debug with GTM Preview and DebugView.

How can I create a custom exploration for 404 errors in GA4?

Use dimensions like page path and referrer along with events metrics. Apply filters for 404 page titles or paths. Custom explorations provide flexible 404 analysis.

What are some alternative ways to detect 404 errors?

Some alternative 404 tracking options include WordPress plugins, SEO tools like Ahrefs and Screaming Frog, and custom analytics platforms like Matomo.

Bhavesh Patel LinkedIn icon

Verified Verified Technical SEO & Tracking Specialist

Bhavesh Patel is a technical SEO expert with extensive experience in web tracking and analytics. As a specialist in Google Analytics 4 and Google Tag Manager, he helps businesses implement cutting-edge solutions for tracking, SEO, and conversion optimization.

Bhavesh Patel

Bhavesh Patel LinkedIn icon

Verified Verified Technical SEO & Tracking Specialist

Bhavesh Patel is a technical SEO expert with extensive experience in web tracking and analytics. As a specialist in Google Analytics 4 and Google Tag Manager, he helps businesses implement cutting-edge solutions for tracking, SEO, and conversion optimization.