Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Internal traffic in GA4: how to filter out your own staff visits

TRK-347Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Internal traffic is any visit from people who work on or for your site: employees, developers, agencies and freelancers. Without a filter, analytics treats those visits like any customer. Every page view, click, form test and test purchase lands in your reports.

In GA4 the tool is called Define internal traffic. It tags matching hits with traffic_type = internal. A separate data filter then excludes those hits from reports. Many sites do only the first step, or leave the filter in its default Testing state, so nothing is actually removed.

Why it costs you leads or sales

The direct damage is usually small on busy sites and larger on small ones. A team of ten testing a landing page daily can be a real share of a site with a few hundred visits a week. The effects:

What staff traffic distorts
  • Conversion rate: test leads add conversions that never came from a customer.
  • Traffic sources: direct traffic and your own campaign links look stronger than they are.
  • Engagement metrics: long sessions or fast bounces from staff skew averages.
  • Ad platform learning: conversions imported into Google Ads or sent to Meta can train bidding on people who will never buy.
  • A/B test results: staff clicking variants pollutes the sample.
How staff visits shift a small site's conversion rateExample numbers
How staff visits shift a small site's conversion rate (example)Real customers only: 2 % conversion rate; Including staff: 3.2 % conversion rate01223.2Real customers onlyIncluding staff% conversion rate

Example: 1,000 real visits with 20 real leads is 2.0%. Add 100 staff visits and 15 test leads and the report shows 35 leads on 1,100 visits, about 3.2%.

How to check if your site has it

Check whether staff visits are being counted
  1. Open GA4 data filters

    Go to Admin > Data collection and modification > Data filters. Look for an Internal Traffic filter and read its state: Testing, Active or Inactive.

  2. Check the IP definitions

    Go to Admin > Data streams > your web stream > Configure tag settings > Show all > Define internal traffic. If the list is empty, nothing is tagged.

  3. Visit your site from the office

    Open Admin > DebugView (or Reports > Realtime) while browsing your own site. In DebugView, click an event and check whether the traffic_type parameter shows internal.

  4. Compare to your staff's habits

    Look at a report segmented by city or by your office's network provider. An unusual share of sessions from your own location is a clue.

How to fix it

The core fix is the same everywhere: tell GA4 which visits are yours, then activate the filter. The extra steps depend on how your team connects and which platform builds your site.

Exclude internal traffic in GA4
  1. Find your public IP addresses

    Ask your IT contact, or visit a what-is-my-IP page from each office and VPN. Use the public address, not one starting with 192.168 or 10.

  2. Create an internal traffic rule

    In Admin > Data streams > your stream > Configure tag settings > Show all > Define internal traffic, click Create. Name it, keep the traffic_type value as internal, and add each IP with a match type such as IP address equals, or a range.

  3. Test the filter

    In Admin > Data filters, open Internal Traffic. Leave it in Testing, browse your site from an office IP, and check in Explorations or reports that the Test data filter name dimension shows Internal Traffic.

  4. Activate the filter

    Once the test looks right, edit the filter and set State to Active, then save. From then on, internal hits are excluded from your property's data.

  5. Cover people with changing IPs

    Home workers and mobile users often have changing addresses. Use a VPN with a fixed IP, or set a traffic_type value through a cookie-based Google Tag Manager rule (see the tabs below).

Handling staff who do not have a fixed IP
  1. Create an internal-user cookie

    Make a hidden page on your site (for example /internal-on) that sets a first-party cookie such as internal_user=1, or have developers set it in the browser console. Create a Cookie variable in GTM named internal_user.

  2. Add the parameter to your GA4 config

    In your Google tag or GA4 configuration, add a field traffic_type with a value that uses a lookup: if internal_user equals 1, send internal. Otherwise leave it empty.

  3. Preview and publish

    Use Preview mode to confirm traffic_type=internal is sent when the cookie is set, then publish the container. The GA4 data filter you activated will then exclude those hits.

Mark a visit as internal with gtag.js when a staff cookie existsjavascript
var isInternal = document.cookie.split('; ').indexOf('internal_user=1') !== -1;
gtag('config', 'G-XXXXXXXXXX', isInternal ? { traffic_type: 'internal' } : {});
Staff traffic in your reports

No filter

  • Office visits appear as normal sessions
  • Test form leads count as conversions
  • Filter left in Testing, so nothing is removed

Filter active

  • Office and VPN hits tagged traffic_type=internal
  • Internal Traffic filter set to Active
  • Reports show customer behaviour only

How to confirm it's fixed

Verify the exclusion works
  1. Browse from an excluded network

    Visit a few pages and submit a test form while connected to the office or VPN.

  2. Check Realtime

    Open Reports > Realtime. With the filter Active, your visit should not appear. If it does, the IP or cookie rule is not matching.

  3. Check from a non-excluded network

    Visit from a mobile connection without the VPN. This visit should appear, proving you did not block everyone.

  4. Review after a week

    Compare sessions from your office location before and after. Data filtered in GA4 is not removed retroactively, so only look at dates after activation.

How to prevent it happening again

Keep internal traffic out for good
  • Update the IP list whenever you change office, ISP or VPN.
  • Add new agencies and freelancers to the cookie or IP rule at onboarding.
  • Keep the data filter Active, not Testing.
  • Exclude internal traffic in ad pixels too, not only GA4.
  • Use a marked test email or name for form tests so they are easy to remove from CRM reports.
  • Review the setup after any change to your tag or consent setup.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. It is a configuration and data-hygiene question inside your analytics property, so it needs a tool for analytics auditing or configuration review, such as GA4's own Admin settings and DebugView, or a tag-auditing tool that inspects your analytics setup.

What FunnelGuard does do is run a robot visitor through your real customer journeys on a schedule and check that each step and tracking hit works. Its test traffic is marked (utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent), so you can recognise it and exclude it from your reports with the same filtering approach described above.

Questions people ask

How do I exclude my own visits from Google Analytics 4?

Go to Admin > Data streams > your stream > Configure tag settings > Define internal traffic and add your IP addresses. Then open Admin > Data filters, edit the Internal Traffic filter and set its state to Active. Your visits are then excluded from new data.

Why is my GA4 internal traffic filter not working?

The most common reason is that the filter is still in Testing state, which flags data but does not remove it. Other causes are using a private IP instead of your public IP, a changed IP address, or staff working from home without a fixed IP.

Does the GA4 internal traffic filter remove past data?

No. Data filters apply only to data collected after the filter is Active. Historical reports keep your earlier staff visits, so compare periods carefully around the activation date.

How do I exclude remote employees with changing IP addresses?

Use a VPN with a fixed IP and add it to your internal traffic rule, or use a cookie. With Google Tag Manager, read the cookie and send traffic_type=internal for those browsers, so the GA4 filter excludes them.

Do staff visits affect Google Ads or Meta conversions?

They can. The GA4 filter does not stop other pixels from firing, so test leads may still be counted in Google Ads or Meta. Prevent the tags from firing for internal users, or remove test conversions in each platform.

Is it bad to leave internal traffic unfiltered on a large site?

On a high-traffic site the effect is usually small, which is why this is a low-impact issue. On a small site with frequent testing it can noticeably inflate conversion rates, so it is still worth fixing.

Can I exclude my own visits without an IP address?

Yes. Set a first-party cookie for staff browsers and use it in Google Tag Manager or your gtag code to send traffic_type=internal. On WordPress you can also exclude logged-in roles in many analytics plugins.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.