I have a Wordpress site and I'm looking for a way to identify which pages in my site contain links to pages that generate 404 errors in Analytics.
I tried the first solution in this SE post but found that "Full Referrer" only displays the source as direct, google, etc. It doesn't give me the URL of the page containing the bad link.
Is there a way to do this short of 3rd party software or did I miss a step in following the other post?
Edit: The 404 errors I'm finding are all generated by googlebot.
You can find this report on Google Search Console, this will be the best option since Google bot scan whole your website and once it found a link to a page on your website that doesn't exist and return 404 error it will add it to the list. Click on one of the pages on the list and it will show you the referring page URL.
If you added your website already to Google Search console, a report with such errors usually should sent to your email by default.
You should be able to find all internal referral traffic in Google Analytics.
Go to Behavior, find your 404 Page, click on it and then set to show the full referred URL. You can add a filter for your own site to show internal vs. external links.