| 开发者 | forgeonline |
|---|---|
| 更新时间 | 2026年7月31日 05:46 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
utm_source, utm_medium, utm_campaign, utm_term and utm_contentleadsource folder to /wp-content/plugins/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.
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.
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.
Yes. The UTM capture runs in the visitor's browser via JavaScript, so server-side caching does not interfere with tracking.
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.
No. All data is stored locally in your WordPress database. The plugin does not communicate with any external analytics or tracking service.
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.
Yes. LeadSource records lead source and full UTM attribution automatically for Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Formidable Forms, Fluent Forms, Elementor Pro Forms and Everest Forms, with no per-form setup.
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.
That is the question the plugin exists to answer. Every entry in the dashboard shows the campaign the lead arrived from, taken from utm_campaign where you set it and from the ad platform click ID where you did not. Sort or search the entries table by traffic source to see which campaigns are producing leads and which are producing nothing, then export the lot to CSV if you want to pivot it in a spreadsheet.
You do not need to. This is the usual way of getting UTM data into a form, and LeadSource makes it unnecessary — there is no hidden field to add, no shortcode, and no form template to edit. The plugin captures the UTM parameters in the browser, stores them for the session, and attaches them to the submission through Contact Form 7's own submission hook. Your existing forms keep working exactly as they are. The same applies to WPForms, Gravity Forms and the other supported form plugins.
Google Ads, Meta Ads (Facebook and Instagram), Microsoft Ads (including Bing, MSN and Outlook placements), LinkedIn Ads and TikTok Ads are identified from their click IDs, which is the reliable method because a click ID cannot be faked by a stray link. Visitors with no click ID are still categorised from utm_source, or labelled as organic search, direct traffic or a referral.