SourceTag – Lead Source Tracking For Forms Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
SourceTag populates hidden fields in your contact forms with marketing attribution data. When a lead submits a form, you see which channel, campaign, and keyword brought them in.
What gets captured:
- Channel (Paid Search, Organic Social, Email, etc.)
- UTM parameters (source, medium, campaign, term, content)
- Click IDs (gclid, fbclid, msclkid, gbraid, wbraid)
- Landing page and referrer
- Visit count and days to conversion
- Device type
Form builders:
Works with Contact Form 7, Gravity Forms, WPForms, Elementor Forms, Formidable Forms, HubSpot Forms, and any HTML form that supports hidden fields.
Why use the plugin instead of just adding the script tag?
The plugin sets cookies via PHP (HTTP headers) instead of JavaScript. Safari, Brave, and other privacy-focused browsers cap JavaScript cookies at 7 days. Server-set cookies last up to 400 days.
External services
This plugin connects to SourceTag, a hosted lead attribution service. It does not work without a SourceTag account.
It loads your SourceTag tracking script from cdn.sourcetag.io on every front-end page. On form submit, the script sends your site ID and a timestamp to cdn.sourcetag.io. No form contents or personal data are sent to SourceTag.
SourceTag terms: https://sourcetag.io/legal/terms
SourceTag privacy policy: https://sourcetag.io/legal/privacy
The _sourcetag cookie is set on your visitors’ browsers. Make sure your privacy policy and cookie notice cover it where your visitors’ jurisdiction requires consent.
Screenshots
Settings > SourceTag: paste your Script URL and turn on 400-day server-side cookies.
A form entry with the lead’s first and last click channel, campaign, keyword, landing page and click ID filled in.

