Simple Tel Tracking

Plugin Banner

Simple Tel Tracking

by harrymt

Download
Description

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: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');

Works great, even on WordPress 5.5

By fermax on November 16, 2020

I was using Beaver Builder to create my pages, which wouldn't allow me to add Google Analytics onclick() events to my anchor elements. This plugin, however, does it automatically. Hooray!

Adds ga() functions to onclick

By harrymt (harrymumf) on August 28, 2019

Requires google analytics to be added to the body of the page first.

1.0

  • Release
Back to top