Directory / plugin

Simple Tel Tracking

v1.0.0 · by harrymt

Adds Google Analytic code to all tel links and mailto links.

About this plugin

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

  1. Add and enable plugin
  2. 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:[email protected]">[email protected]</a>
<a href="tel:+123456789">Bristol 123456789</a>

Google will report:

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

Plugin tags