[WordPress] 外掛分享: Submission DOM tracking for Contact Form 7

首頁外掛目錄 › Submission DOM tracking for Contact Form 7
WordPress 外掛 Submission DOM tracking for Contact Form 7 的封面圖片
500+
安裝啟用
★★★★★
5/5 分(1 則評價)
45 天前
最後更新
問題解決
WordPress 4.0.1+ PHP 5.5+ v2.2 上架:2017-09-03

內容簡介

Contact Form 7 插件的 “on_sent_ok” 和它的同伴 “on_submit” 已經被棄用,並於 2017 年底前預計取消。推薦的設定選項是使用 DOM 事件(更多資訊:on_sent_ok Is Deprecated)。此外,此外掛還能以下列 DOM 事件追蹤表單提交資訊(Google Analytics 事件、Google Analytics 頁面檢視和 Facebook 像素):

您還可以在正確提交表單後隱藏表單,並在沒有表單的頁面上取消註冊 Contact Form 7 的樣式和 JavaScript。

請注意,此外掛與 Google Analytics v4 不相容。

我可以如何使用此外掛?

此外掛使用 DOM 事件追蹤 Contact Form 7 的成功提交表單,您可以將表單提交紀錄為 Google Analytics 事件、Google Analytics 頁面檢視或 Facebook 像素領取。

此外掛還提供在成功提交表單後隱藏聯繫表單的選項。

最後,此外掛還提供了一個選項,僅在帶有聯絡表單的頁面上包含 Contact Form 7 的樣式和 JavaScript,而不是 Contact Form 7 的標准行為,在所有頁面上全部包含。

此外掛的原理是基於哪些想法?

此外掛的原理是基於 Contact Form 7 的作者在他宣布 on_sent_ok Is Deprecated 時的指示。我們需要一個解決方案,來適應我們所運營的網站以及我們的客戶的要求。

系統需求

PHP 版本需要 5.5 或更高的版本。

疑難排解

在創建支援票之前,請參閱此外掛的 FAQ 疑難排解部分,特別是 有哪些已知的不相容問題?(簡而言之:此外掛與 Contact Form 7 重定向外掛或用 DOM 事件來重定向用戶的 Contact Form 7 附加元件不相容,且當使用 PixelYourSite 時不會記錄 Facebook 像素領取)。

Contact Form 7 提交 DOM 追蹤外掛可在不同語言中使用!

首次發布時此外掛僅支援英語和西班牙語。在 “languages” 資料夾中,我們已經包含了翻譯此外掛所需的檔案。

如果要在您的語言中使用此外掛並且擅長翻譯,請通過聯絡我們與我們聯繫。

進一步閱讀

您可以在此處查閱西班牙語的外掛說明:Submission DOM tracking for Contact Form 7 en español。

聯繫

如需更多資訊,請向我們發送一封電子郵件。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Submission DOM tracking for Contact Form 7」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The “on_sent_ok” and its sibling setting “on_submit” of the Contact Form 7 plugin are deprecated and scheduled to be abolished by the end of 2017. The recommended alternative to on_sent_ok is using DOM events (More info: on_sent_ok Is Deprecated). This plugin helps to set these DOM events to track form submissions (Google Analytics event, Google Analytics page view and Facebook pixel).
You can also hide the form after correct submission and deregister the Contact Form 7 styles and JavaScript on pages without forms.

Please note that this plugin does not work with Google Analytics v4.

What can I do with this plugin?
This plugin tracks succesfull form submissions with Contact Form 7 using DOM events. You can track the form submissions as Google Analytics Event, as Google Analytics page view or as Facebook Pixel Lead.
The plugin also gives the option to hide a contact form after succesfull form submissions.
And finally it also has the option to include the styles and JavaScript of Contact Form 7 only on pages with contact forms and not on all pages which is the standard behaviour of Contact Form 7.
What ideas is this plugin based on?
This plugin is based on the instructions of the author of Contact Form 7 when he anounced that on_sent_ok Is Deprecated. We needed a solution for the sites we are running for ourselves and for our customers.
System requirements
PHP version 5.5 or greater.
TROUBLESHOOTING
Before creating a support ticket for Submission DOM tracking for Contact Form 7 please have a look at the Troubleshooting section of the FAQ and specially at the Are there any known incompatibilities? section (in short: the plugin doesn’t work with Contact Form 7 redirection plugins or add-ons for Contact Form 7 that redirect the user in some form using the DOM events and the Facebook lead isn’t recorded when using PixelYourSite).
Submission DOM tracking for Contact Form 7 Plugin in your Language!
This first release is avaliable in English and Spanish. In the “languages” folder we have included the necessarry 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: Submission DOM tracking for Contact Form 7 en español.
Contact
For further information please send us an email.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon