Simple Tel Tracking
v1.0.0harrymt · 2017年11月2日 上架
Adds Google Analytic code to all tel links and mailto links.
- 正在使用
- 70+
- 评分
- 5.0 / 5
- 累计下载
- 2,413
- 最近更新
- 2017年11月22日
2 条评价需要 WordPress 3.0.1+已测试到 3.7.41
贡献者
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
<a href="mailto:someone@example.com">someone@example.com</a>
<a href="tel:+123456789">Bristol 123456789</a>
Google will report:
ga('send', 'event','Mailto Tracking: someone@example.com','Click/Touch');
ga('send', 'event','Phone Call Tracking: 123456789','Click/Touch');