Context Fields
for CF7
Auto-inject page URL, title, and referrer into every CF7 submission email — no configuration, no form changes, no code.
How it works
Three invisible steps happen on every form submission.
Visitor submits form
Any Contact Form 7 form on any page. No changes to your form needed — the plugin works globally.
JS injects hidden fields
On submit, JavaScript reads window.location.href, document.title, and document.referrer into hidden inputs.
Email gets context block
Server-side, values are sanitized and appended under a -- Submission Context -- section in the CF7 email body.
What lands in your inbox
Every submission email gets a context block appended automatically.
Message: I’d like to book a consultation.
Phone: +40 721 234 567
— Submission Context —
Page URL: https://example.com/services/consulting/
Page Title: Consulting Services — Acme Corp
Referrer: https://google.com/
↑ Free plan · Always included
Included in the free plugin
| Field | Source | Active |
|---|---|---|
| Page URL | window.location.href |
✓ |
| Page Title | document.title |
✓ |
| HTTP Referrer | document.referrer |
✓ |
Free vs Pro
| Feature | Free | Pro |
|---|---|---|
| Page URL | ✓ | ✓ |
| Page Title | ✓ | ✓ |
| HTTP Referrer | ✓ | ✓ |
| UTM Parameters (source, medium, campaign, term, content) | — | ✓ |
| IP Address | — | ✓ |
| User Agent | — | ✓ |
| Submission Timestamp | — | ✓ |
| Logged-in User Data (name, email, role) | — | ✓ |
| Geo-IP (Country, City — cached 24h) | — | ✓ |
[context_field] custom tag |
— | ✓ |
| Per-field source control | — | ✓ |
| Global settings page | — | ✓ |
Page URL: https://example.com/landing/summer/
Page Title: Summer Campaign — Acme Corp
Referrer: https://google.com/
UTM Source: google
UTM Medium: cpc
UTM Campaign: summer2025
IP Address: 203.0.113.42
Country: Romania
City: Bucharest
Submitted At: 2025-06-15 14:32:07
Know every lead’s full story
UTM tracking, IP, Geo-IP, user data, submission time — everything you need to qualify and route leads without asking visitors extra questions.
Privacy-first by design
This plugin does not track users by stealth — data is only recorded when a form is submitted. No external servers. No cookies. No analytics. IP address is captured only in Pro, and only when explicitly enabled.