Uses jQuery to add Google Analytics tracking code to all tel links and mailto links on all pages.
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
someone@example.com
Bristol 123456789
Google will report:
ga('send', 'event','Mailto Tracking: someone@example.com','Click/Touch');
ga('send', 'event','Phone Call Tracking: 123456789','Click/Touch');