We'll create fresh WordPress site with Lead info with country for Contact Form 7 installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Lead info with country for Contact Form 7 is an addon module for the Contact Form 7 plugin. It helps you track the user who fills out a form.
All you need to do is add the [tracking-info] shortcode in the Message body of the contact form 7.
Since version 1.5.0 you can also use the shortcode [tracking-info-noip] in the Message body of contact form 7 which will not include the IP of the user in case you have concerns regarding the General Data Protection Regulation (EU) 2016/679 (“GDPR”).
This plugin is an enhanced version of the plugin Contact Form 7 Leads Tracking, that includes translations and the lookup of the country of the IP from which the form is sent.
We decided to create this enhanced version of the plugin, because we needed a translation to Spanish and wanted to know the country from which the uses send the contact form, whithout having to lookup the IP adress.
The lead tracking info includes: Form Page URL, Original Referrer, Landing Page, User IP, Country of the User IP and Browser.
In order to display the Country it needs the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin that can be found in the WordPress plugin repository. This plugin “provides geographic information detected by an IP adress”. This plugin auto-updates the GeoIP database once a week. This product includes GeoLite data created by MaxMind, available from www.maxmind.com.
If the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin is not installed and enabled, you will only see the IP address, without the country of the IP adress.
We decided to use the Geolocation IP Detection (until March 2020: GeoIP Detection) plugin to handle the lookup of the country, because it’s a plugin that is actively developed and we saw no advantage in implementing all this functionality, when we could use an existing one.
The lead tracking info in this plugin includes:
Form Page URL
The URL on which the user filled out the form.
Original Referrer
The URL from which the user came to your site.
Landing Page
The first page the user visited on your site.
User IP (is not included when using the shorcode [tracking-info-noip])
The IP address of the user who filled out the form.
Country of the IP
The country of the IP address of the user who filled out the form. If the country is 0, please check the FAQ information.
User Agent / Browser
The browser information of the user who filled the form.
Please make sure that WP_DEBUG in wp-config.php is set to FALSE when using this plugin in production. If it’s true the message is sent but the AJAX code to show the OK message and clear the form is not executed. This has to do with the Contact Form 7 filter: wpcf7_mail_components we use for adding the tracking information and we can’t change this behaviour. Please be aware of this.
This first release is avaliable in English and Spanish. In the languages folder we have included the necessary files to translate this plugin.
If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.
You can access the description of the plugin in Spanish at: Lead info with country for Contact Form 7 en castellano.
For further information please send us an email.