[WordPress] 外掛分享: Simple Tel Tracking

首頁外掛目錄 › Simple Tel Tracking
90+
安裝啟用
★★★★★
5/5 分(2 則評價)
3040 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0.0 上架:2017-11-01

內容簡介

使用 jQuery 將 Google Analytics 追蹤代碼新增到所有頁面的電話鏈接和電子郵件鏈接上。

添加並啟用外掛
外掛將自動運作!

此外掛是開源的,程式碼在這裡: https://www.github.com/harrymt/simple-tel-tracking

郵件和電話鏈接的 href=X 也會被傳送到 Google Analytics。

例如,對於這兩個鏈接:

<a href="mailto:[email protected]">[email protected]</a>
<a href="tel:+123456789">Bristol 123456789</a>

Google 會報告:

ga('send', 'event','Mailto Tracking: [email protected]','Click/Touch');
ga('send', 'event','Phone Call Tracking: 123456789','Click/Touch');

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Tel Tracking」→ 直接安裝(推薦)

原文外掛簡介

Uses jQuery to add Google Analytics tracking code to all tel links and mailto links on all pages.

Add and enable plugin
It just works!

The plugin is open-source, the code is here: https://www.github.com/harrymt/simple-tel-tracking
The href=X of the mail and tel link will also be sent to Google Analytics.
e.g. for these two links
[email protected]
Bristol 123456789

Google will report:
ga('send', 'event','Mailto Tracking: [email protected]','Click/Touch');
ga('send', 'event','Phone Call Tracking: 123456789','Click/Touch');

延伸相關外掛

文章
Filter
Apply Filters
Mastodon