How to Filter Spam Data From Your GA4 Reports

Not being able to eliminate spam data from your reports can cause major headaches for everyone who wants to use Google Analytics 4 for performance insights. Whether that is a small business owner, a marketing team, executive leadership, or digital agencies, we are all impacted in some fashion. Creating custom reports for all the stakeholders can be time-consuming, so we are hoping the process below can help speed up your tasks and explore options based on this approach that you can modify and use to your benefit. We plan to continuously evolve the approach and hope that we have helped your team in some fashion. 

Please note that the approach below is only optimal if you are fine with completely ignoring all traffic from Poland and France, the countries in which this spam attacked your GA4 G-Tag. But if you have read through our prior post on how to stop the flow of this spam, then by the time you get through this process, your brain will be exploring how to modify it even further to suit your needs. Trust me, it’s possible. If you want more help on this or other topics then feel free to reach out to us at any time.

Be aware that is filter is only optimal if you have no concern about excluding traffic from Poland or France where the news.grets.store spam has originated. If you regularly get web traffic from Poland or France, you may choose to filter by another method while using this process as a guide.

  1. Navigate to your Property and click Reports. We will use Acquisition: User Acquisition as an example.
  1. Click the Edit icon top right corner.
Click the Edit icon top right corner.
  1. Click “Add Filter“.
Click "Add Filter".
  1. Click “arrow_drop_down“.
Click "arrow_drop_down".
  1. Type in “Country” and select the option from the dropdown.
Type in "Country" and select the option from the dropdown.
  1. Click “Select Match Type“.
Click "Select Match Type".
  1. Click “does not exactly match“. THIS IS IMPORTANT – you are filtering out/removing, so you must select “does not exactly match“.
Click "does not exactly match".</p>
<p>THIS IS IMPORTANT - you are filtering out/removing, so you must select "does not exactly match".
  1. Click “arrow_drop_down“.
Click "arrow_drop_down".
  1. Select both “Poland” and “France.
Select both Poland and France.
  1. Click “Apply“.
Click "Apply".
  1. In the top right corner, near the date selection area, click “Save“.
In the top right corner, near the date selection area, click "Save".
  1. Click “Save As A New Report“.
Click "Save As A New Report".
  1. Click the “Report Name” field. How you name this is completely up to you and can be changed at any time.
Click the "Report Name" field. How you name this is completely up to you and can be changed at any time.
  1. Click the “Report Description” field. How you describe this is completely up to you and can be changed at any time.
Click the "Report Description" field. How you describe this is completely up to you and can be changed at any time.
  1. Click “Save“.
Click the drop-down and change to "IP Address Equals".
  1. Click “Back“.
Click "Save".
  1. Click “Reports“.
Click "Reports".
  1. Click “Library“.
Click "Library".
  1. Find your newly created Report with the filter!
Find your newly created Report with the filter!

Another Example of How to Filter Your Reports

Feel free to skip the next section, as it is another example of a different type of report you can create. The above and below process can be repeated for any report you wish to create. Skip to Step 38 to see a process on how you can add your report creations to the left-hand navigation for easy access!

  1. Click “Pages and Screens“.
Click "Pages and Screens".
  1. Click the Customize Report icon (pencil icon below the date range selector).
Click the Customize Report icon (pencil icon below the date range selector).
  1. Click “Add Filter“.
Click "Add Filter".
  1. Click the “Select Dimension” field.
Click the "Select dimension" field.
  1. Type in “Country” and select the option from the dropdown.
Type in “Country” and select the option from the dropdown.
  1. Click “Select Match Type“.
Click "Select Match Type".
  1. Click “Does Not Exactly Match“.
Click "Does Not Exactly Match".
  1. Click “Select Dimension Value“.
Click "Select Dimension Value".
  1. Click “Poland” and “France“.
Click the plus sign next to Segments in the Variables column.
  1. Click “Apply“.
Click "Apply".
  1. Click “Save…“.
Click "Save...".
  1. Click “Save As A New Report“.
Click "Save As A New Report".
  1. Click the “Report Name” field and name your report. Then, click the “Report Description” field and type the description for your report.
Click the "Report Name" field.
  1. Click “Save“.
Click "Save".
  1. Click “Back“.
Click "Back".
  1. Click “Reports“.
Click "Reports".
  1. Click “Library“.
Click "Library".
  1. Here, you can find both of the reports that you just created.
Check both reports under the "Reports" subsection.

How to Pin Custom Reports to the Sidebar in Google Analytics 4

Now, let’s walk through how to get these reports pinned to the left-hand navigation for easy access! If this is not important to you, then you can skip these steps. Just know that all the reports you create can be found in the Library at any time.

  1. When in the Library, click “Create New Collection“.As we progress through this practice, you might also recognize that you could modify the approach and simply edit an existing collection. Customize it for your team however you wish!
When in the Library, click "Create New Collection".</p>
<p>As we progress through this practice, you might also recognize that you could modify the approach and simply edit an existing collection. Customize it for your team however you wish!
  1. Click “Blank” to create a blank collection and add the reports.
Click "Blank" to create a blank collection and add the reports.
  1. Click “Create New Topic” and name the topic in the “Topic Name” field that appears.
Click "Create New Topic" and name the topic in the "Topic Name" field that appears.
  1. Use whatever naming convention you would like and click “Apply“. You can edit all your collections, folders, reports, etc., at any time.
Use whatever naming convention you would like and click "Apply". You can edit all your collections, folders, reports, etc., at any time.
  1. Click “Search Reports” and find your newly created reports by typing them in, or selecting from the list.
Click "Search Reports" and find your newly created reports by typing them in, or selecting from the list.
  1. Click and drag your reports to the left-hand window for Collections.
Click and drag your reports to the left-hand window for Collections.
  1. Name your Collection and click “Save“.
Name your Collection and click "Save".
  1. Click “Back” in the upper left-hand corner.
Click "Back" in the upper left-hand corner.
  1. Click the Right Arrow to the right of the Spam Filtered box.
Click the Right Arrow to the right of the Spam Filtered box.
  1. Click the Action Menu in the top right corner of the Spam Filtered box.
Click the Action Menu in the top right corner of the Spam Filtered box.
  1. Click “Publish“.
Click "Publish".
  1. Find your new Collection on the left-hand Navigation. Click the drop-down to see your reports.
Find your new Collection on the left-hand Navigation. Click the drop-down to see your reports.

In wrapping up our discussion on creating custom reporting filters in Google Analytics 4 (GA4) to eliminate spam referrals like news.grets.store and others, we’ve equipped you with a step-by-step guide to safeguard your data integrity and ensure your analytics are reflective of genuine user interactions. Implementing these filters not only cleanses your reports of unwanted noise but also empowers you to make more informed decisions based on accurate data. By taking the time to customize your filters and pin them to your property view, you’re setting a standard for clean data analytics practices within your organization, ensuring that all team members benefit from the same level of clarity and precision in the data they analyze.

Let this guide serve as a stepping stone towards a more secure and reliable analytics practice, ensuring that your organization remains agile and informed in the face of evolving digital challenges.