Skip to content

Your GA4 property finally filters out office traffic and the dashboards look cleaner. Then you open the lead table in WordPress. Take an example month with 31 leads labelled Direct. Four are your account manager checking the contact form after a plugin update. Three are a developer testing a new landing page. Five are bot fills with a made-up name and a link in the message box. The real number is closer to 19, and every report built on 31 is wrong by the same amount.

Site owners ask the same question about GA4 all the time: how do you keep a team’s own visits out of the reports so they only show genuine visitors and customers? Google’s answer is an internal traffic rule keyed on office IP addresses, plus a filter that drops matching sessions. The same problem sits one layer down, in the WordPress table where your form leads live. This guide shows how to keep staff tests and spam out of that count with the free Lead Source plugin, and what Lead Source Pro adds when you want rules to handle it.

Why staff tests and spam skew lead counts by source

Every time someone on your team fills in a form to check it works, a lead lands in the table. It carries a source like any other lead. Staff usually arrive by typing the address or using a bookmark, so most tests are labelled Direct. Some come through a Google search for the business name and land in Organic Search. A few come from a staff member clicking your own ad to check the landing page, which puts a test under Google Ads or Meta Ads and makes the paid channel look busier than it is.

Spam does the same thing at a larger scale. Form bots usually arrive without UTM tags or click IDs, so they tend to pile into Direct or Referral. A month with a bot wave can show Direct doubling while nothing changed in your marketing.

The result is a count by source that rewards the wrong channels. When you compare months, judge lead quality, or send a monthly report to a client, those extra rows travel with every number.

What GA4 internal traffic filters fix and what they miss

GA4 lets you define internal traffic by IP address or range and then filter it out. The Google Analytics Help page on filtering internal traffic walks through the steps. A data filter can be Testing, Active or Inactive. Testing lets you check what the filter would match. Once an exclude filter is Active, the matching data is dropped permanently and cannot be recovered. Google points to report filters when you want to hide data without losing it.

That cleans up sessions and events in GA4. It leaves your WordPress lead table untouched. A staff test sent from the office still creates a form entry, and that entry still carries a source. The GA4 filter has no reach into the lead table, so it changes nothing about the leads you count there.

Two weak spots carry over as well. IP rules only work while staff sit on a known network, and home connections often change address. Spam bots are not internal traffic at all, so an internal traffic rule does nothing about them.

If you report ad platform conversions alongside named form leads, the post on ads conversions vs named form leads explains why those two numbers differ. Cleaning one of them leaves the other as it was, so each needs its own pass.

Cleaning the count with the free plugin

The free Lead Source plugin on wordpress.org captures UTM parameters and the click IDs gclid, fbclid, msclkid, li_fat_id and ttclid, keeps them for the browsing session, and attaches a traffic source to each form submission. It works with Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, Fluent Forms, Elementor Pro Forms, Everest Forms and Forminator. The how it works page shows the capture step by step.

Lead Source free has no internal traffic exclusion and no built-in spam filter. It has no way to tell a real visitor from a colleague or a bot, so every captured submission lands in the entries table the same way. That makes the cleaning a manual job, and it works well if you set it up once and keep to it.

  1. Give every staff test a marker. Use one test email address for all form checks, such as test@yourdomain.com, and add utm_source=internal-test to the page address before you submit. The test then shows up in the table with a source you will never mistake for a real channel.
  2. Search the entries table before you count. The entries table in Lead Source free is searchable and sortable, so a search for the test email or for internal-test brings every staff row together. Leave those rows out of your count, along with any spam that got past the form.
  3. Count by source after cleaning. Use the two-period method from how to compare lead sources this month vs last month and clean both months the same way, so the change you see is real.

The marker only works while everyone who touches the site uses it. Developers, designers and account managers all need to know the address and the tag. A line in your launch checklist is usually enough.

Lead Source free anonymises IP addresses by removing the last octet. That protects visitors, and it also means the entries table is a poor place to pick out office visits by IP. The marker email and the internal-test tag do that job instead. To see what else the free plugin stores and where it keeps it, read how to track WordPress lead sources without Google Analytics.

Attribution in the free plugin is same session, and that affects tests too. A colleague who clicked one of your ads earlier and then fills in the form before closing the browser will carry that ad source, which is one more reason to rely on the marker rather than the source label. The post on same-session attribution vs 90-day UTM cookies explains how session length shapes these labels.

Stopping spam at the form before it becomes a lead

The cleanest fix for spam is the form plugin itself. A submission the form plugin rejects is one you never have to find and remove from the count later. Most form plugins offer at least one of these options, and some offer all three.

  • A honeypot, which is a hidden field people never see and bots often fill in.
  • A CAPTCHA or similar challenge, where your form plugin supports one.
  • Akismet, which checks submissions against a shared spam service, on form plugins that connect to it.

Check your form plugin settings and add-ons to see which of these it supports. Start with the lightest option that stops the spam you are seeing, because a hard CAPTCHA can also put off real visitors.

Lead Source free has no built-in spam filter, so this layer does the work for free users. Whatever slips through still needs to be left out by hand when you search the entries table.

How Lead Source Pro exclusion rules work

Lead Source Pro costs US$99/year and turns the manual cleaning into rules. Internal traffic exclusion is Pro only, and the free plugin has no version of it. Exclusion rules match three things.

  • Internal IP addresses, as a single address, a CIDR block or a range.
  • Logged-in user roles, so a test sent by an editor or administrator signed in to WordPress is matched.
  • Internal email domains, so a submission that uses your company domain is matched.

The role rule and the email domain rule keep working when someone tests from home on a changing connection, which is the weak spot in IP-only filtering. Pro also includes bot and spam filtering, so bot fills that get past the form plugin can be kept out of reports too.

Capture is on by default for every supported form plugin that is active. If one form plugin on the site handles submissions that should never count as leads, such as a plugin you use only for job applications, a per-plugin toggle switches capture off for it.

Flag instead of delete

GA4 and Lead Source Pro treat exclusion differently. An Active exclude filter in GA4 drops matching data for good. Lead Source Pro flags a matched submission and leaves it out of reports, and the lead itself is never deleted.

That matters the day a rule is too broad. Say someone adds a public email domain to the internal list by mistake, or a new client fills in your form from a shared building on your IP range. With a permanent drop, those leads are gone and nobody notices. With a flag, the over-eager rule can be spotted and undone, and the leads come back into your reports.

Clean numbers also make the next steps more honest. Once tests and spam are out, marking good leads gives a truer quality rate by channel, as covered in how to mark good leads and rank channels by quality, not volume. If you send results to clients, the guide on branded monthly lead reports without screenshots covers sending the clean count each month.

A quick checklist

  • Every staff test uses one marker email and utm_source=internal-test.
  • Everyone who tests the forms knows the marker.
  • Your form plugin has a honeypot, CAPTCHA or Akismet turned on.
  • You search the entries table for the marker and for spam before you count.
  • You count by source for two equal periods, cleaned the same way.
  • Any GA4 exclude filter runs in Testing before you make it Active.
  • If you move to Lead Source Pro, you set rules for office IPs, staff roles and your email domain, then review the flagged rows after the first month.

Clean counts start with knowing which rows are yours. Mark your own tests, stop what spam you can at the form, and leave the rest out before you read the numbers by source. When doing that by hand starts to slip, Lead Source Pro can match the rows for you and keep every lead in the table.

Leave a Reply

Your email address will not be published. Required fields are marked *