Forum Posts

hmdzahid2741
Jan 16, 2022
In TV& Film Forum
How to track 404 errors with Google Analytics and Tag Manager "Error 404" means that the web page is not available at the address entered. Over time, the search engine removes these pages from the index. To avoid this, you need to purposely track 404 errors in the special reports of Google Analytics and Google Tag Manager.Pages with 404 errors do not affect website promotion. But if we're talking about pages that return an unexpected error, that's a problem. Especially when you do not know the existence of an error.The purpose of the error page is to signal that something went wrong and provide the visitor with a transition to the relevant links - the main page or a similar remote page. The main reasons why the webpage gives the server response code “404 Not Found”: the page deleted by the webmaster;the page has been moved to a new address;the page has been moved to another section;the link has been broken;bad redirect;the Cyprus Mobile Number List server malfunctioned;human error (print error in URL), and more.Error 404 on the siteTo track 404 page errors, we have Google Analytics and Google Tag Manager. We will describe several possible options that will help you quickly locate the error.You can check for 404 errors using the Serpstat Site Audit tool. Simply configure auditing and access the All Issues report when the process is complete: 404 not foundAdvanced SEO Audit: A Complete Guide to All Stages of Analysis [Infographic] Read morePersonal demonstrationOur specialists will contact you and discuss options for further work. These can include a personal demo, trial period, comprehensive training articles, webinar recordings, and personalized guidance from a Serpstat specialist. Our goal is to make you feel comfortable when using Serpstat.Thank you, we will contact you shortly!NameE-mail+1(999)999-9999Request a demoGoogle Analytics: where the customer receives an error notification Find out how many transitions occurred with an error, perhaps in a summary of all website pages. Get a selection by going to the "Behavior" menu in Google Analytics, click on the "Site Content" line, where this report is - "All Pages". The screenshot will show you what needs to be done with an example: All site pages in Google . AnalyticsNow sort the pages like this, to finally get a summary, a search that focuses on the title "Page not found". In our case, this name is used, so it is used on the sample website.Similar names differ between websites, check what you have set by hovering over the name of the error page in the browser.404 error pageBelow the chart, there are custom fields. Click on “Page name” and use the search by name, which is next to the “More” button: Names of pages in Google AnalyticsLook for pages with an error message in the header. Since the search will be by name, the screenshot uses the name “Page Not Found” as an example.Search Pages in Google AnalyticsThe system automatically filters all website pages by title and reports which sessions received the error page.In this example, we checked visits to 404 pages in one day; you'll have to look at a wider range. Adjust the appropriate range in the upper right corner of the graph and study the resulting chart.Analytics 404 Error StatisticsClick on the name of the page in the table and you will receive the URL for which the user received the 404 error. So you will create a list of broken web pages, which you will have to work on later, find out the causes and troubleshoot if they exist.The screenshot shows how the link is displayed in the table. It is active, so check in person, if the page remains inaccessible.404 Errors in Google Analytics How to add an event to Google Analytics and Google Tag Manager To enable tracking of 404 errors via the Tag Manager, start by creating a variable. Use a custom name or a "page header variable". Our goal is to create a variable that checks the title of the page (eg "Page Not Found").Perform the following steps:1Go to "Variables" and click on "Create".2Change the following settings:name: "JavaScript - Page Title";type: "JavaScript variable";global variable: "document.title".Variable in Google Tag ManagerThe configured variable will report the name of the web page that the visitor entered. Since we are interested in a specific title, for example "Page not found", we will clarify the problem. Create a trigger that responds to the "Page Not Found" header. Note that page names vary: "404", "Error", "Page Processing", etc. Specify the one that is registered on your web resource.Let's move on to creating a trigger. When adding a new trigger, you need to clarify its parameters. Set up 404 error tracking called "404 Trigger Title" or some other name you can understand.Select the Google Analytics "View Page" event type. Configure activation on certain pages that should respond with the 404 code: Setting a trigger in Google . Tag ManagerNow we need to understand how to configure an event in Google Analytics, to send the information received to the analysis system.Create a special tag called "404 - Event Tag". Fill in the proposed configuration for this tag.Parameters you need to set:write a tracking ID , which you can add as a constant variable to the Google Analytics tool, this will simplify your work in the future; Finally, associate the prepared " Page Viewer " trigger with the analysis type of the first element.Save and test your work with a preview.All variables, triggers and tags work directly to track events in Google Analytics.404: Event ReportsRegardless of your tracking method - whether using the Tag Manager or tracking your views manually - your reports should look the same in Google Analytics, i.e. show the same information. In the "Behavior" menu you will find the item "Events". There you will receive event messages marked 404.
0
0
8
 

hmdzahid2741

More actions