Description
When a Contact Form 7 form is submitted, do you know which page it came from? Which campaign drove the lead? Context Fields for CF7 automatically injects contextual data into every CF7 submission so you always have the full picture.
Works out of the box — activate and you’re done.
Every CF7 form automatically receives three hidden fields:
- Page URL — the full URL of the page where the form was submitted
- Page Title — the title of that page
- HTTP Referrer — where the visitor came from before landing on this page
These values are appended to the email notification under a -- Submission Context -- section.
Want more?
Context Fields for CF7 Pro adds:
- UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) — read from URL
- IP Address — server-side
- User Agent — browser/device string
- Submission timestamp
- Logged-in user data (name, email, role)
- Geo-IP (Country, City) — via free IP lookup, cached 24h
[context_field]custom tag — add any data point to your CF7 form tag list- Per-field source control — choose exactly which data points appear in each form
- Settings page to configure which fields appear globally
Privacy Notices
With the default configuration, this plugin:
- does not track users by stealth — it only records data at the moment a form is submitted
- does not send any data to external servers
- does not use cookies
- records the visitor’s IP address only in the Pro version, and only when explicitly enabled
Installation
- Upload the
context-fields-for-cf7folder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- That’s it — no configuration needed.
All CF7 form email notifications will now include a -- Submission Context -- block with the page URL, page title, and referrer.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“NMR Context Fields for CF7” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “NMR Context Fields for CF7” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- First version.
- Auto-inject page URL, page title, and referrer into all CF7 submissions.
- Dismissible admin notice.
- Settings page with Pro feature overview and upsell.