Descripción
Stop guessing which marketing channels are generating your leads.
LeadSource 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 and conversion tracking without complex analytics setups.
How It Works
- A visitor clicks your ad or link containing UTM parameters
- LeadSource captures and stores the traffic source data in a cookie
- When the visitor submits a form, the traffic source is automatically recorded
- 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 modifications needed:
- Contact Form 7
- WPForms
- Gravity Forms
- Ninja Forms
- Formidable Forms
- Fluent Forms
- Elementor Pro Forms
What It Tracks
- UTM Parameters — source, medium, campaign, term, and content
- Ad Platform Click IDs — Google (gclid), Meta (fbclid), Microsoft (msclkid), LinkedIn (li_fat_id), TikTok (ttclid)
- Auto-detected Traffic Source — labelled as Google Ads, Meta Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Organic Search, Direct, or Referral
- Landing Page URL — the first page the visitor arrived on
- Referrer — where the visitor came from (with server-side fallback)
Dashboard & Reporting
- Sortable, searchable entries table with a native WordPress look
- Quick stats showing total submissions and top traffic sources
- Colour-coded badges for each platform (Google, Meta, LinkedIn, etc.)
- View full submission details in a modal popup
- Export all entries to CSV with one click
Features
Everything is included — no paid plan required:
- All UTM and click ID tracking
- All 7 form plugin integrations
- Admin dashboard with search, sort, and quick stats
- CSV export
- 5-step setup wizard with auto form detection
- Unlimited stored entries
- Per-submission email notifications
- Daily, weekly, and monthly summary emails
- IP address anonymisation
Privacy Friendly
- IP addresses are automatically anonymised (last octet removed)
- No data sent to external servers — everything stays in your WordPress database
- Setup wizard includes recommended privacy policy language
Capturas








Instalación
- Upload the
leadsourcefolder to/wp-content/plugins/ - Activate the plugin through the Plugins menu in WordPress
- Complete the 5-step setup wizard that appears automatically
- That’s it — traffic sources will be captured on your next form submission
The setup wizard will:
- Auto-detect which form plugins you have installed
- Let you choose your notification preferences
- Configure your notification email address
FAQ
-
Do I need to modify my forms?
-
No. LeadSource hooks into your form plugin automatically. There are no shortcodes to add, no hidden fields to configure, and no form templates to edit.
-
Does it work if I don’t use UTM parameters?
-
Yes. The plugin also detects ad platform click IDs (gclid, fbclid, etc.) and automatically labels the traffic source. Even visitors arriving via organic search or direct traffic are categorised.
-
Will it slow down my site?
-
No. The frontend script is tiny vanilla JavaScript (no jQuery dependency) that runs once on page load to read URL parameters. There are no external API calls and no impact on page load speed.
-
Does it work with caching plugins?
-
Yes. The UTM capture runs in the visitor’s browser via JavaScript, so server-side caching does not interfere with tracking.
-
What is the conversion window?
-
The plugin uses «Same Session» attribution — the captured UTM data persists until the browser is closed. This is the most accurate setting and prevents cross-session over-counting.
-
Is my data sent anywhere?
-
No. All data is stored locally in your WordPress database. The plugin does not communicate with any external analytics or tracking service.
-
Does this work for Google Ads conversion tracking?
-
Yes. LeadSource captures the Google Click ID (gclid) on every form submission, so you can match leads back to the campaigns, ad groups and keywords that produced them and feed conversions back into Google Ads.
-
Can I track the lead source for Contact Form 7, WPForms and Gravity Forms?
-
Yes. LeadSource records lead source and full UTM attribution automatically for Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, Fluent Forms and Elementor Pro Forms, with no per-form setup.
-
Does it do first-touch or last-touch attribution?
-
LeadSource uses same-session attribution. The captured source persists until the browser is closed, which avoids the cross-session over-counting that long cookie windows can cause.
Colaboradores y desarrolladores
«LeadSource – UTM, Lead Source and Conversion Tracking for Forms» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «LeadSource – UTM, Lead Source and Conversion Tracking for Forms» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.4
- Show the full message content in notification emails and the entry detail view (no longer truncated)
- Update the plugin name and directory listing for clarity
- Rename the translation template to leadsource.pot to match the text domain
1.0.3
- All features now free — no licensing or paid plan required
- Unlimited entry storage for all users
- Email notifications and summary reports available on all installs
- Rename text domain to leadsource
1.0.2
- Fix additional fatal redeclaration errors when free and Pro versions are both active
1.0.1
- Fix fatal error when free and Pro versions are active simultaneously
1.0.0
- Initial release
- UTM parameter and click ID tracking
- Support for 7 form plugins
- Admin dashboard with WP_List_Table
- 5-step setup wizard
- Email notifications
- Summary emails — daily, weekly, monthly
- IP anonymisation
