وەسف
PLX Lead Attribution gives every Contact Form 7 form on your site automatic marketing attribution, with no per-form setup required.
When a visitor lands on your site, the plugin reads the following from the URL and stores them in the browser for 30 days:
utm_sourceutm_mediumutm_campaignutm_term(also acceptsutm_keywordorutm_contentas fallbacks)- A click ID (
gclid,clid, orad_id)
If no UTM source is present, the referring domain is captured instead (or “Direct” if there is none), so every submission has a source even without a tagged link.
Five hidden fields are injected into every CF7 form automatically:
utm-sourceutm-mediumutm-campaignutm-termutm-clid
Whichever values were captured are filled into those fields just before the form is submitted, and the same values are appended to the CF7 notification email so they land straight in your inbox — no shortcodes, no manual field configuration, no third-party tracking service.
Requires Contact Form 7 to be installed and active. This plugin does nothing on its own — it only adds functionality to CF7 forms.
Privacy
This plugin stores UTM parameters, click IDs, and the referring domain in the visitor’s browser localStorage for up to 30 days, purely so the data survives from the landing page to whichever page the contact form is submitted on. No data is sent to any third-party or external service by this plugin. Captured values are only transmitted when a visitor submits a Contact Form 7 form, at which point they are included in that form’s own submission and notification email exactly like any other form field.
دامەزراندن
- Install and activate Contact Form 7 if it isn’t already.
- Upload the
plx-utm-attributionfolder to/wp-content/plugins/, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the “Plugins” screen in WordPress.
- That’s it — every existing and new CF7 form will automatically receive the hidden UTM fields and the extra lines in its notification email. No configuration is needed.
پهد
-
Do I need to add anything to my Contact Form 7 form templates?
-
No. The hidden fields are injected automatically into every CF7 form on the site.
-
What happens if Contact Form 7 isn’t installed?
-
The plugin’s hooks simply never run, so nothing happens — no errors, no output. Contact Form 7 is required for the plugin to have any effect.
-
Where is the UTM data stored?
-
Only in the visitor’s own browser (
localStorage), for up to 30 days, until it is submitted through a CF7 form. The plugin does not use cookies, does not create any database tables, and does not send data anywhere else. -
Can I change which UTM parameters are tracked?
-
Not via settings in this version — the tracked parameters and field names are fixed. Developers can adjust
js/utm-tracking.jsdirectly if a site needs different behaviour.
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“PLX Lead Attribution” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“PLX Lead Attribution” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
ڕووداوتۆمارگەریی گۆڕین
1.0.1
- Added plugin icon.
- Minor readme wording tweak.
1.0.0
- Initial release.