WordPress.org

Plugin Directory

Lead Source: Lead Tracking and Marketing Attribution for Forms

Lead Source: Lead Tracking and Marketing Attribution for Forms

Description

Stop guessing which marketing channels are generating your leads. Lead Source is a lead source tracking and marketing attribution plugin for WordPress forms. It automatically captures UTM parameters and advertising platform click IDs from your visitors, persists them through the browsing session, and attaches the traffic source to every form submission, with no configuration on your forms required.

Perfect for small businesses and agencies running ads across Google, Meta, LinkedIn, Microsoft, and TikTok who need simple, reliable lead attribution without complex analytics setups.

How it works

  • A visitor clicks your ad or link containing UTM parameters.
  • Lead Source captures and stores the traffic source data in a cookie.
  • When the visitor submits a form, the traffic source is recorded automatically.
  • View all your leads and their sources in a clean WordPress dashboard.

Supported form plugins

Works automatically with the form plugin you already use, no shortcodes or form changes: Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, Fluent Forms, and Elementor Pro Forms.

What it tracks

  • UTM parameters: source, medium, campaign, term, content.
  • Ad platform click IDs: Google (gclid), Meta (fbclid), Microsoft (msclkid), LinkedIn (li_fat_id), TikTok (ttclid).
  • Auto-detected traffic source: Google Ads, Meta Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Organic Search, Direct, or Referral.
  • Landing page URL and referrer, with a server-side fallback.

Dashboard

A sortable, searchable entries table with a native WordPress look, quick stats for total submissions and top sources, colour-coded platform badges, full submission details in a modal, and one-click CSV export.

Included on the free plan

All UTM and click ID tracking, all seven form integrations, the admin dashboard, CSV export, a five-step setup wizard with automatic form detection, unlimited stored entries, per-submission email notifications, and daily, weekly, and monthly summary emails.

Privacy

IP addresses are anonymised automatically (last octet removed). No data is sent to external servers, everything stays in your WordPress database. The setup wizard includes recommended privacy policy language.

Screenshots

Installation

WordPress Admin Installation

  1. From your WordPress dashboard, go to Plugins Add New.
  2. Search for Lead Source plugin in the search bar and click “Install” button. (Or click “Upload Plugin” and upload the plugin zip file).
  3. Once installed, click on the “Activate” button.
  4. Navigate to the new ‘Lead Source’ menu in your WordPress admin sidebar.
  5. Enter your Lead Source Site ID (which you can find in your Lead Source Dashboard at https://app.leadsource.co/).
  6. Click on the “Save Changes” button. The tracking script is now automatically active across all your pages.

Manual Installation

  1. Upload the lead-source folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the new ‘Lead Source’ menu in your WordPress admin sidebar.
  4. Enter your Lead Source Site ID (which you can find in your Lead Source Dashboard at https://app.leadsource.co/).
  5. Click on the “Save Changes” button. The tracking script is now automatically active across all your pages.

FAQ

Do I need a Lead Source account?

Yes. You need an active Lead Source account. From there, you will able to get a Site ID and view your lead attribution dashboard. You can create an account at https://leadsource.co/.

How is Lead Source different from Google Analytics?

They serve different purposes. Google Analytics tracks population-level traffic and session behaviors. Lead Source identifies individual converters, their specific journey paths and which campaign produced each particular client.

What form plugins are supported?

Because Lead Source tracks submissions dynamically on the page, it works automatically with any form builder, including Contact Form 7, Gravity Forms, Forminator, Jotform, Typeform and standard HTML forms.

Where can I find the Terms of Service and Privacy Policy?

You can find our Terms of Service at https://leadsource.co/terms and our Privacy Policy at https://leadsource.co/privacy.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Lead Source: Lead Tracking and Marketing Attribution for Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial release.
  • Added settings page with Site ID input.
  • Added conditional script enqueuing of the Lead Source tracking script.