How to Find Bad URLs and Broken Links Using GA4 (The 3-minute website audit)

How to Find Bad URLs and Broken Links Using GA4 (The 3-minute website audit)

🔴 Let's take a break from all the AI stuff. Let's set our campaign aside. Today we'll focus on fundamentals and see if we can buff out the rough spots on our own website...

GA4 is about finding opportunities, right? Find what’s working and then double down on that approach.

But there's another way to use Analytics. You can use it to find bugs, broken links and bad URLs ...in just a few clicks.

Here are six ways to spot website issues in Analytics. It’s not a replacement for detailed testing, but GA4 is a fast, efficient and free audit tool. You are just clicks away from the answers to each of these questions.

The step-by-step processes are right here.

Each section here is a question. Each report here has the answers. And each ends with a checklist for next steps.

Article content

1. Are there broken pages on your website?

Engagement > Pages and Screens > “Page title and screen name” dimension, search for “Page Not Found”

If a visitor goes to a bad URL (a page that doesn’t exist) they arrive at a “404 Page Not Found” landing page.

Although visits to these non-existent URLs appear in your Pages and screens report under “Page path and screen class,” they all have different URLs, making them hard to find.

But they all have the same Page Title.

So find the title of your 404 page by intentionally going to a bad address on your site, such as www.yourwebsite.com/blahblahblah

ProTip: Enter your domain then let your cat jump on your keyboard. Or if you’re working from home with a kid on your lap, let them help. 

Now look at the title in the browser tab. See it? On this site, it’s “Page not found.”

Article content
It's not a page. But it shows the title tag of your non-pages.

Now in Analytics, go to the Engagement > Pages and screens report. Set the primary dimension (the dropdown above the first column) to “Page title and screen class.” Then enter the page title to the search bar above the first column.

Article content
All of the bad URLs have the same title tag. Usually it's "Page not found"

You should now see a report with just one row. Next we’ll add a secondary dimension to see the URLs. To do this, click the little blue plus next to the primary dimension dropdown and search for “Page path”

You’re now looking at a list of all the bad addresses that have had at least one pageview during this date range.

These are your 404’s.

Article content
The second column shows the address of each bad URL.

Next steps:

  1. Redirect traffic from these pages to the most relevant page (tell your web dev partner to make some 301 redirects).
  2. Or create content on these URLs!
  3. Make your 404 page awesome. Why not? Add links from it to other web pages. Add humor. Do something weird and fun.


👋 Hey, need a GA4 review? Join our LIVE 1-hour mini-masterclass on September 25th.

2. Are there broken internal links on your site?

Path Exploration > Ending Point: Page title and screen name “Page not found”

Are you the one driving traffic to these bad pages? Maybe yes. Are there broken internal links on your website? Our GA4 website audit has the answer.

For this, we’ll use a Path Exploration report.

  • From the Explore menu, select Path Exploration
  • Click the “Start over” in the top right corner
  • Click in the “ENDING POINT” box and select “Page title and screen name”
  • Search for and select “Page not found” or whatever the title is of your 404 page

Article content
Some of the best path explorations start with the ending point.

If you don’t see anything, try a longer date range. The report will show you pages that visitors flowed through on the way to the bad URL. These pages probably have broken links on them, or at least they did at some point during the date range.

Next steps:

  1. Find the broken link on the page If you have trouble finding the broken link on those pages, you can view the source code of the page (by right clicking anywhere on the page and clicking “view page source” from the menu) and then using the find feature (control + F) to find the bad address in the code.
  2. Remove the link or update it to point to another page You can use these internal linking best practices to find the opportunities with the best SEO value.

Article content
If you can't find the broken link on the page, use "View source" and search for it.

Because GA4 is based on website behavior, this will only show links that are broken and clicked on. In other words, the links that actually affect user experience. If it’s never been clicked, it won’t show up.

ProTip: Use a paid SEO audit tool, which will check your site for all broken links (internal and external) along with other stuff that technical SEOs worry about, such as duplicate content in meta descriptions.  But is that a ranking factor in search engines anyway? I think no.

3. Is your site working well in every browser?

Free Form Exploration using Dimensions: Browser and Browser Version, Metrics: Sessions, Bounce rate, Engagement Rate and Session Conversion Rate

If your website is mostly a set of pages without much fancy programming, it’s unlikely you have any browser compatibility issues. Especially if you’re CMS is up-to-date and doesn’t have a ton of plugins installed.

But why not check? It takes just a few minutes.

For this, we’ll use an Exploration. This will make it easier to see issues because we can build a report with just the dimensions and metrics we need.

  • From the Explore menu, select “Free form”
  • In the Variables column, click the plus next to DIMENSIONS. Search for and select “Browser” and “Browser Version” then click the blue “Confirm” button
  • In the Variables column, click the plus next to METRICS. Search for and select “Sessions,” “Bounce rate,” “Engagement rate” and “Session conversion rate” then click the blue “Confirm” button
  • In the Settings column, add the two Dimensions as ROWS
  • In the Settings column, add the four Metrics and VALUES
  • In the Settings column, add a filter where Sessions are > 100

It’s also nice to change the CELL TYPE to Heat map. This makes the potential browser issues pop out a bit more. And it’s a good idea to name it. I called mine “Browser Version Analysis.”

This screenshot shows the setup, but the dimensions and rows wouldn’t fit because the settings column was too tall. But you get the idea. Notice the filter. You’ll need that to remove outliers. Need more data? Set a longer date range.

Article content

The possible browser compatibility issue is obvious right away. There is a version of Chrome with a very high bounce rate and very low engagement rate.

What’s a good bounce rate? A good engagement rate? Here are benchmarks for you:

  • Average website bounce rate is 61% (source)
  • Average website engagement rate is 55% (source)

Next steps:

  1. Give the site a thorough browser compatibility test using a device with that browser
  2. …or use an emulator, such as BrowserStack to quickly test the site on every browser from your computer.

While you’re here, check to see what browsers your audience uses. Do your visitors love Safari? No problem. Analytics will show if those folks are enjoying your site.

Article content
Jayda Koland Jones, BDJ Strategy

“Using sources like GA4 positions you well to understand the needs of your clients, improve the site experience, and ultimately make decisions using data instead of intuition.” 

4. Is your shopping cart broken on certain browsers?

Free Form Exploration using Dimensions: Browser and Browser Version, Metrics: Sessions, Engagement Rate, Session Conversion Rate and Average purchase revenue

If you have an ecommerce website, this same exploration can show you if your shopping cart has browser compatibility issues.

It’s possible that a little bug is causing big sales problems. It happens all the time. A single browser compatibility issue stops users from completing the checkout process and no one notices for months.

But the clues are in your data. Here’s what that looks like in GA4.

You would expect ecommerce conversion rates to be similar across browsers. In this account, between five and seven percent. But one browser, Safari, has a much lower rate, about 1%.

Article content

Look at the other columns to get an idea for the hole this punches in sales. If the conversion rate for that browser were in line with the others, considering the average purchase value, the site would generate another $6000 per month. If you see this, your turbo website audit just found a lot of money in under a minute.

Next steps:

  1. Take a deep breath, then send a support ticket to your developer.
  2. …or join the struggle. Use Microsoft Clarity or a similar tool and watch screen recordings of actual visitors. Watch visitors who used that browser but exited the site from the cart or checkout page. You may see some “rage clicking” of frustrated visitors pounding buttons that don’t work.

Article content
Every digital marketer should watch a session recording at least once in their life.

5. Does your site not work on some devices?

Tech > Tech details: “Device model” dimension, filtered so Device category exactly matches mobile

Engagement and conversion metrics naturally vary across devices. Even a very mobile friendly site will have lower engagement rates and lower Average engagement time than a desktop site.

But across all mobile devices, there shouldn’t be a big variance across specific devices, where one type of phone has much lower engagement and conversion metrics. If there are, your turbo GA4 website audit maybe have found a bug.

Here’s how to check:

  • Go to the Tech > Tech details report
  • Select “Device model” as the primary dimension from the dropdown above the first column
  • Create a filter where “Device category” exactly matches “mobile” to exclude all of the desktop visitors

The report will look like this. Look for unusually low Engagement rates and Conversion rates.

Article content
Maybe there's a problem...

You can also create an exploration to highlight the issues more visually. Here I’ve created a scatterplot chart using “Device” as the breakdown. Sessions is the Y Axis and Engagement rate is the X Axis. You can see the exploration setup in this screenshot:

Article content
No, I don't normally use this weird report. But in this case, it's very useful.

You can immediately see that on this website, Galaxy S5 users are much less engaged than users on other mobile devices! What to do about it?

Next steps:

  1. Test the site on that device. Again, BrowserStack can help.
  2. Check the popularity of that device to get a sense for the size of the problem. Take a deep breath.

If everything looks fine, you can go one level deeper into the data. To see if any specific URLs are the issue, check the exit pages for that device. Those users may all be bailing from the same page.

6. Check the "Report of Broken Dreams"

Free Form Exploration using Dimension: Page Path and Query String, Metrics: Event count, Exits

If your website has a search tool, you have a listening tool. You can use GA4 to see what people are searching for. This is useful for content strategy, but it can also show you clues into content gaps …because you can see what people are searching for but not finding.

Suppose you have a toy store. Your site has lots of pages and products, so of course, there is a search tool. When you take a look at your search terms, you can see that visitors are looking for some very specific information: “unicorns.”

But if the visitor searched but then left from the search results page without clicking on anything, they must not have found what they were looking for.

What are your visitors searching for, but not finding?

This question is 100% answerable in your GA4 account. We just need to see which pages with searches (page path + query string) were also exit pages.

So we need to add the Exits metric to our exploration.

  • In the variables column on the left, click the plus next to Dimensions.
  • A list of dimensions will slide is from the right. Search for "Page Path + Query String" and check the box next to it. Click Confirm.
  • In the variables column on the left, click the plus next to Metrics.
  • A list of metrics will slide in from the right. Search for “Exits” and check the box next to it. Click Confirm.
  • Draw the "Page path + query string" dimension into the "ROWS" box.
  • Drag the "Exits" metric into the “VALUES” box.
  • Click FILTERS at the bottom of the Settings column to add a filter. Set the filter to contain any word or parameter that appears in the address bar when a visitor uses your search tool (this could be /search/ or ?search)
  • Sort by Exits (descending)

Here’s what you’ll see:

Article content
A list of the ways in which your website is unsatisfying.

You’re looking at a list of what people search for and the last page they visited. You can tell right away that some people are looking for unicorns, but not finding any.

They never clicked. They left without the information they needed. That’s why we call this The Report of Broken Dreams. It shows you what your visitors searched for, but did not find. This is actually one of several ways to do site search analysis using GA4.

Action! This should be an easy fix now that you have search exit data.

  • Search for the phrase yourself. What do the search results show?
  • If you don’t already have a page on this topic, make one!
  • If you do have a page but it’s not ranking, update the page so it ranks higher for that keyword in your site search results. Put the phrase in the title, header and body text.
  • Now search again. All better?

Site search SEO is a type of optimization that everyone should love. Make your own content rank in your own search tool on your own website.

Your visitors are telling you something. Use GA4 to listen.

They’re trying to tell you something through your Analytics data. That’s really all Analytics is: information about the behavior of your visitors.

If your website was a physical space, you could sit back and watch them. See if they struggle to move around, to find things and to buy.

But since our visitors aren’t here, we can’t watch them physically. We use javascript tracking code and cookies instead. The clues are right there in your GA4 data.

The good news? Those clues are just a few clicks away.

This article (like everyone we post here on LinkedIn) originally appeared on the Orbit Media Blog. That's where we publish first. Want to share or cite the source? It's here 👇


Tactical SEO still lives and needs to be well solved for and executed. Not everything should be resting just on AI for your GEO.

91 reactions. 18 comments. 1 repost. Translation: 91 people thought it would be a good idea to do it later out of curiosity and tabled it never to come back to it. 18 did it - and their hearts swelled at the finding, so they said thank you. 1 person cared enough to bring this wisdom to the not-knowing masses. 😂 And me... Andy Crestodina, I just appreciate you so much - you are a special person in my feed (so glad to have also met you in person at MAS). If I had the powers to nominate you as the most USEFUL LI influencer, I would. But ditsy talking heads with silly TikTok-like videos please the algo much more. Sigh.

Like
Reply

Great walkthrough, Andy Crestodina. Spotting issues in GA4 is super useful, but ideally those broken links never make it live. A CMS that not only checks links before publishing but also keeps monitoring them afterwards can prevent 404s and let you fix issues right away. Prevention really is better than repair.

To view or add a comment, sign in

More articles by Andy Crestodina

Others also viewed

Explore content categories