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:
- 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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
Stop tracking logged-in staff
Many analytics plugins (for example Site Kit or MonsterInsights) have a setting to exclude logged-in users by role. Check the plugin's settings for an option to exclude Administrator and Editor roles. Exact menu names depend on the plugin.
Remember logged-out testing
Role exclusion does not cover tests made while logged out, such as form submissions. Use the IP filter or cookie method as well.
Use the GA4 filter for staff browsing
Shopify's storefront does not run your own server-side exclusions for GA4, so the GA4 internal IP filter is the main tool. Define your office IPs in GA4 as above.
Mark test orders
Place test orders using a test gateway or a clearly marked customer, and exclude them in your reporting. Avoid using real customer-facing orders for tests.
Use GA4 or GTM exclusions
Webflow has no built-in staff exclusion. Add the GA4 tag via Project settings > Custom code or via GTM, then rely on the GA4 IP filter or the GTM cookie method.
Set traffic_type in the gtag config
If you load gtag.js directly, add traffic_type to the config call for known staff, for example based on a cookie your app sets after login.
var isInternal = document.cookie.split('; ').indexOf('internal_user=1') !== -1;
gtag('config', 'G-XXXXXXXXXX', isInternal ? { traffic_type: 'internal' } : {});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
Browse from an excluded network
Visit a few pages and submit a test form while connected to the office or VPN.
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.
Check from a non-excluded network
Visit from a mobile connection without the VPN. This visit should appear, proving you did not block everyone.
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
- 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.
Related issues
- TRK-344Test orders/leads counted as real conversionsFix guide
- TRK-345Bot/spam traffic inflating sessionsFix guide
- TRK-348Uptime monitors/crawlers triggering conversionsFix guide
- TRK-349Events from localhost or staging domains in production propertyFix guide
- TRK-346Spam form submissions firing lead conversionsFix guide
- TRK-337Same conversion counted by multiple tags (GA4 + Ads import + Ads tag)Fix guide