
內容簡介
「具備國家資訊的聯繫表單7」是「聯繫表單7」外掛的附加模組,可協助您追蹤填寫聯繫表單的使用者。
您只需要在聯繫表單7的訊息主體中添加「[tracking-info]」的簡碼即可。
自1.5.0版本以來,您也可以在聯繫表單7的訊息主體中使用「[tracking-info-noip]」的簡碼,以遵守歐盟一般資料保護規範 (GDPR) 有關IP保護的限制。
此外掛是外掛「聯繫表單7信息追蹤」的強化版,包含翻譯和查詢發送表單的IP所在國家等功能。
我們創建了此強化版外掛,因為我們需要西班牙語的翻譯,並想知道使用者從哪個國家發送聯繫表單,而不需要查詢IP地址。
追蹤信息包括:表單頁面的URL、原始轉介網址、登錄頁面、使用者IP、使用者IP所在國家和瀏覽器。
為了顯示國家,需要使用地理定位IP檢測(截至2020年3月稱為GeoIP檢測)外掛,該外掛可在WordPress插件存儲庫中找到。此外掛「提供由IP地址檢測到的地理信息」。此插件每週自動更新GeoIP數據庫。此產品包括MaxMind創建的GeoLite數據,可從www.maxmind.com下載。
如果未安裝和啟用地理定位IP檢測(截至2020年3月稱為GeoIP檢測) ,則只會看到IP地址,不會看到IP地址的國家。
我們決定使用地理定位IP檢測(截至2020年3月稱為GeoIP檢測)外掛來處理國家查詢,因為它是一個正在積極開發的外掛,並且我們看不到實現這全部功能時的優勢。
此外掛的追蹤信息包括:
表單頁面的URL
使用者填寫表單的URL。
原始轉介網址
使用者訪問您站點的網址。
登錄頁面
使用者在您站點上的第一個訪問頁面。
使用者IP(使用簡碼 [tracking-info-noip] 時不包含)
填寫表單的使用者的IP地址。
IP的國家
填寫表單的使用者IP的國家。如果國家是0,請檢查常見問題解答信息。
使用者代理/瀏覽器
填寫表單的使用者的瀏覽器信息。
請確保在使用此外掛的過程中,wp-config.php中的WP_DEBUG設置為FALSE。如果為TRUE,則訊息已經發送,但顯示OK的代碼和清空表單的AJAX代碼不會被執行。這與我們用於添加追蹤信息的聯繫表單7過濾器(wpcf7_mail_components)有關,我們不能更改此行為。請注意這點。
以您的語言使用「具備國家資訊的聯繫表單7」!
此第一版目前支援英文和西班牙語。在語言文件夾中,我們包含了必要的翻譯文件以翻譯此外掛。
如果您想使用您的語言的外掛,並且您擅長翻譯,請務必為我們貢獻力量!
外掛標籤
開發者團隊
② 後台搜尋「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. 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.
Lead info with country for Contact Form 7 in your Language!
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.
Further Reading
You can access the description of the plugin in Spanish at: Lead info with country for Contact Form 7 en castellano.
Contact
For further information please send us an email.
