Skip to Content
LLM Decode learn.llmdecode.com
Back to all resources
SOP-015

Exclude own traffic from Google Analytics

Exclude all traffic that is generated by you, or your employees/contractors to keep your data clean and as accurate as possible.

Type SOPs · DOC
Execution time 5-10 minutes
Last updated 26 July 2024
Who does this The person responsible for Analytics. You and your employees / contractors

Goal

To exclude all traffic that is generated by you, or your employees/contractors

Ideal outcome

Your internal traffic will not affect your Google Analytics’ metrics

Why it matters

Your internal traffic can seriously skew your metrics to the point of getting you to make wrong decisions. You want to keep your data clean and as accurate as possible

Before you start

Google Analytics needs to be set up on your website. If you haven’t done so, follow SOP 163 instead

Key steps 28 steps

What is inside 30 headings

1 Define internal traffic in Google Analytics 4 12

  1. Login to your Google Analytics account Click “Admin”.
  2. Make sure you’ve selected the correct property (website) and select “Data Streams”.
  3. Select the website that you want to implement Google Analytics 4.
  4. At the bottom of the page, click “Configure Tag Settings” under Google Tag.
  5. Under Settings, click “Show all”.
  6. Click “Define internal traffic”.
  7. Click “Create” to define the internal traffic rules.
  8. Change the Rule name to “Internal traffic” and leave the default traffic_type value to internal.
  9. Set the Match type to “IP address equals” and set the value to your IP address.
  10. If you don’t know what’s your IP address, click “What’s my IP address”, and Google will show your current IP address.
  11. If you need to exclude multiple IP addresses, such as excluding traffic from your co-workers or other devices, then click “Add condition” and repeat step 9.
  12. You have now defined the internal traffic in Google Analytics 4, go ahead and create a filter to exclude this internal traffic.

2 Activating internal traffic filter in Google Analytics 4 16

  1. Login to your Google Analytics account.
  2. Click “Admin”.
  3. Click “Data Filters” under Data Settings.
  4. You should see a filter for internal traffic. This is the default filter that is created when you create a Google Analytics 4 property. Make sure it is in testing mode.
  5. If it’s not in testing mode, click on the 3 dot “kebab menu” and select “Test filter”.
  6. Now, we need to test whether the internal traffic filter is working. If it is, we will activate it.
  7. Head to Reports Real-time.
  8. Click “Add comparison” and then “Select dimension”. Search for the Test data filter name then select it.
  9. Next, click on “Select dimension values”, select “Internal Traffic”, and click OK.
  10. Make sure the test filter is correct, then click “Apply”.
  11. Now open a new tab in your browser and visit your website.
  12. Then, head back to the Google Analytics 4 Real-time report. You should see 1 user in the test data filter. If you see this data, it means the internal traffic filter is working.
  13. Head to admin again by clicking “Admin”.
  14. Click “Data Filters” under Data Settings.
  15. Click the “kebab menu” and select “Activate filter”.
  16. Once it’s active, you will have successfully excluded internal traffic from Google Analytics 4.

The document DOC

The file is locked

It comes with the SOP Library.

Bought from LLM Decode before? Sign in to pay ₹ 1,999.00.

Up next · SOP-017 Set Up Facebook (Meta) Conversion Tracking Perfectly track leads, pageviews, button clicks, signups, purchases or any other event, using Facebook's pixel conversion tracking Unlock to read