Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Lead info with country for Contact Form 7 icon

Lead info with country for Contact Form 7

v2.5
by apasionados · 4.2 (5 reviews)

Lead info with country for Contact Form 7 helps to track users that fill in forms.

4K+ active installs Updated Sep 23, 2023 Tested to 6.3.5 Requires PHP 5.3
Try Demo Download
Pre-installed Ready in ~10s No card
Lead info with country for Contact Form 7

About Lead info with country for Contact Form 7

Lead info with country for Contact Form 7 is an addon module for the Contact Form 7 plugin that helps track the user who fills out a form. It includes features such as form page URL, original referrer, landing page, user IP, country of the user IP, and browser information. To display the country, the Geolocation IP Detection plugin is required. If you have concerns about GDPR, you can use the shortcode [tracking-info-noip] to exclude the user's IP address.

Screenshots

Lead info with country for Contact Form 7 screenshot
Lead info with country for Contact Form 7 screenshot

Changelog

2.5 (24/FEB/2022)

  • Made changes to session_destroy() to prevent resetting the session to early. Thanks to @edioreza for brinnging this to our attention. Also included code from Tony J. to show path on website before filling and sending the form (we are testing this as we are not sure how it will behave on large sites).

2.4.1 (08/JAN/2021)

  • Small bug fix to prevent error: “Use of undefined constant body – assumed ‘body’ in wpshore_cf7_lead_tracking.php on line 61”.

2.4 (07/JAN/2021)

  • Added check for headers_sent() on line 29 to prevent the “cannot start session when headers already sent” error that some users were seeing in their logs.

2.3 (22/OCT/2020)

  • Changed array used to detect if email sent is HTML or plain text to prevent error: “Use of undefined constant body – assumed ‘body’ in wpshore_cf7_lead_tracking.php on line 61”.

2.2 (08/JAN/2020)

  • Made a change to how we handle session_destroy() to prevent error: “Trying to destroy uninitialized session in wpshore_cf7_lead_tracking.php on line 55”.

2.1 (20/NOV/2019)

  • Solved “Site Health” error: “The REST API encountered an error”.

2.0 (19/SEP/2019)

  • Updated name from “Contact Form 7 Lead info with country” to “Lead info with country for Contact Form 7” in order to comply with the WordPress plugin repository trademark guidelines.

1.6.0 (27/JUN/2019)

  • Updated check for HTML or PLAIN TEXT to make line breaks correctly.

1.5.1 (15/FEB/2019)

  • Updated translation files and added POT file to translate to other languages.

1.5.0 (14/FEB/2019)

  • Add new shortcode [tracking-info-noip] which does not include the User IP in the email sent.

1.4.3 (12/JUL/2018)

  • Removed line break when PROXY is detected.

1.4.2 (03/JAN/2018)

  • Added declaration of variable $trackingInfo to avoid “Notice: Undefined variable: cf7isSecure” with PHP 7.

1.4.1 (10/SEP/2017)

  • Added declaration of variable $cf7ltisSecure to avoid “Notice: Undefined variable: cf7isSecure” with PHP 7.

1.4.0

  • Added check for landing page protocol. Now it will show https or http depending if there is a SSL certificate in use on the landing page.

1.3.2

  • Added GEO info for Proxy Server IP when set.

1.3.1

  • Some code improvements.

1.3

  • Changed function used to retrieve the IP data from “GeoIP Detection” to support reverse proxies.

1.2

  • Solved error when WordPress DEBUG was true: “Notice: Undefined index: HTTP_REFERER” when HTTP_REFERER was not set by browser

1.1.1

  • Change to solve error in line 101 of the plugin when WordPress DEBUG is TRUE: Notice: “Undefined index: HTTP_REFERER in contact-form-7-lead-info-with-country/wpshore_cf7_lead_tracking.php on line 101”

1.1

  • First stable release.

1.0

  • Second beta release.

0.5

  • Beta release.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…