Skip to content

A small business owner on r/AskMarketing described a problem many site owners know well. Leads arrived from Google Ads, a Google Business Profile, SEO articles and cold outreach, and for some new leads they could not tell which one sent them. HubSpot felt too complicated for a business that size. The first replies in that thread said to install Google Analytics, add UTM tags, and set up a CRM.

That is a lot of moving parts for one question, which is where did this enquiry come from. It also sends your visitor data to more services than you may want. If your forms run on WordPress, you can answer the question inside WordPress itself, keep the data in your own database, and leave Google Analytics out of it or keep it for traffic reports only. This guide shows how that works with the free Lead Source plugin, what it stores, and where its limits are.

What Google Analytics can and cannot tell you about a lead

Google Analytics is built to report on traffic. It shows sessions, pages, events and conversions, grouped by source and medium. It can tell you how many visitors from Google Ads submitted the contact form this month.

It is not designed to tell you which named person on your enquiry list came from which campaign. Google’s own guidance on avoiding personally identifiable information says its policies do not allow data that Google could recognise as personal, such as email addresses, to be passed into Analytics. So the named lead in your inbox and the source in your Analytics reports stay in two separate places.

That gap is why the numbers so often disagree. The post on why Google Ads conversions do not match WordPress form leads covers that mismatch in detail. For a small business, the useful answer is usually the simpler one, a source written next to each named enquiry.

Where your lead source data lives with Lead Source

The free Lead Source plugin on wordpress.org attaches the traffic source to every form submission and stores it in your own WordPress database. Its readme states that no data is sent to external servers and that the plugin does not communicate with any external analytics or tracking service.

The capture is simple. A small JavaScript snippet reads the UTM parameters and ad click IDs from the page address and keeps them in a first-party session cookie. If there are none, it checks the referrer to label the visit as organic search with the engine name, referral or direct. When the visitor submits a form, Lead Source saves the source with the entry in a custom database table. The how it works page walks through each step. Links from ChatGPT answers carry their own tag too, and the guide on how to see which WordPress leads came from ChatGPT shows how that tag lands on an entry.

It works with Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, Fluent Forms, Elementor Pro Forms, Everest Forms and Forminator. You add no hidden fields and change nothing on your forms.

What the free plugin stores for each lead

Each entry in the Lead Source dashboard can hold these details.

  • The five UTM parameters, utm_source, utm_medium, utm_campaign, utm_term and utm_content, when the link carried them.
  • Ad click IDs from Google Ads (gclid), Meta (fbclid), Microsoft Ads (msclkid), LinkedIn (li_fat_id) and TikTok (ttclid). The post on how to track TikTok ttclid in WordPress forms covers the TikTok one in detail.
  • A traffic source label such as Google Ads, Meta Ads, Organic Search, Direct or Referral.
  • The landing page, which is the first page the visitor arrived on. The post on which landing page produced each WordPress lead shows how to use it.
  • The referrer, with a server-side fallback.
  • Every field the visitor submitted, including phone, company and dropdown answers.

You can search and sort the entries table, see quick stats for your top sources, and get an email for each new lead plus daily, weekly or monthly summaries. Entries are unlimited, and all of this is free. That stored list matters most if you use Contact Form 7, which otherwise only emails the submission. The post on keeping Contact Form 7 leads and their source in WordPress covers how to keep both the message and the source as entries you can search.

Because every submitted field is stored, your WordPress database now holds the personal details people type into your forms. Treat it the way you would treat any customer record. Limit who has admin access, keep backups secure, and decide how long you keep old enquiries.

Privacy settings that come built in

Lead Source free includes a few privacy defaults that you do not have to set up.

  • IP addresses are anonymised automatically by removing the last octet.
  • Lead data stays in your WordPress database and is not sent to an outside analytics service.
  • The setup wizard includes recommended privacy policy language that describes what is stored.
  • Notification emails can be set to carry no Lead Source promotion line at all.

Two points are worth knowing. First, notification and summary emails send lead details to the address you choose, so a copy of each enquiry also sits in that inbox. Second, the plugin uses a first-party session cookie. Whether that cookie needs to appear in your cookie notice or consent setup depends on where your visitors are and what else runs on your site. Check that with whoever looks after privacy for the business, and add the wizard’s privacy policy text to your policy page.

Anonymised IPs also change how you spot your own staff in the data. The guide on keeping staff tests and spam out of your lead counts explains a simple marker method that works without full IP addresses.

Limits of same session tracking

Lead Source free uses same session attribution. The captured source lasts until the visitor closes the browser. Within that session it is last click, so a new ad click or a visit from another site replaces the stored source. The post on same-session attribution vs 90-day UTM cookies covers the trade-off in full.

In practice that means a few kinds of leads will show as Direct or Organic even though an ad played a part. Clicks from a Google Business Profile are similar, and a tagged profile link keeps them apart, as covered in how to track Google Business Profile leads in WordPress forms.

  • Someone clicks your Google ad on Monday, closes the browser, and types your address on Thursday to fill in the form.
  • Someone finds you on a phone and enquires later from a work laptop.
  • Someone calls or sends a WhatsApp message instead of using the form, which no form plugin can see.

For the asker in that thread, this is still a big step up from guessing. Every form lead carries a source label, and when one says Direct, the cases above are the first things to check. Phone and chat enquiries need their own tracking, such as a different number per channel or asking the caller how they found you.

What Lead Source Pro adds

Lead Source Pro costs US$99/year for one site. It adds features on top of the free plugin for people who need more than a source per lead.

  • A configurable attribution window in days, so a visitor who clicks an ad and returns next week can still be credited to that ad.
  • Full lead-journey tracking, showing every page a lead viewed before enquiring. See what pages a lead visited before they enquired.
  • Saved reports with date-range comparison, good-lead marking, and CSV export.
  • Internal traffic exclusion by IP or user role, plus bot and spam filtering.
  • Retention controls and a Do Not Track setting in the data hygiene settings.

Pro does not push leads into HubSpot or any other CRM. Scheduled client reports go out by email, so check what they include before you send them. If you need the source on a HubSpot or Salesforce contact, the guide on getting WordPress form UTM and GCLID data onto a CRM contact covers the options.

A quick checklist

  • Install the free Lead Source plugin and run the setup wizard.
  • Tag every ad, email and social link you control with UTM parameters.
  • Send a test enquiry and check the entries table shows the right source and landing page.
  • Add the wizard’s privacy policy language to your privacy page.
  • Decide whether your cookie notice should mention the session cookie.
  • Limit admin access to the lead table and decide how long you keep old enquiries.
  • Track phone and chat enquiries separately, since a form plugin cannot see them.
  • Once a month, count leads per source for this month and last month, as shown in how to compare lead sources this month vs last month.
  • Keep Google Analytics for traffic trends if you want it, and read named lead sources in WordPress.

You do not need a stack of tools to see where a lead came from. A plugin that writes the source next to each enquiry, in a database you already own, answers the question for most small sites. When you need longer windows, journeys or reports for clients, Lead Source Pro builds on the same lead table.

Leave a Reply

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