Editor's note:
Thanks for visiting GA Tip of the Day. All of my newer posts are published on the E-Nor blog. Please visit and sign up for updates.
- Eric Fettman

Track Mobile Click-to-Call Actions as Google Analytics Events

Click-to-Call Eventsview at full size

You can track click-to-call actions on mobile Web pages as events in Google Analytics.

A useful new feature in HTML 5 is the tel: prefix that you can add before the href value of a link:

<a href="tel:8002221111"> Click here to call us now at 1-800-222-1111.</a>

Similarly to the mailto: prefix that launches an email client when clicked in a desktop browser, the tel: prefix initiates a phone call when the link in clicked in a smartphone browser.

Using the onlick handler within the link, you can insert event tracking code:

<a href="tel:8002221111" onclick="_gaq.push(['_trackEvent', 'Mobile', 'Click to Call'])">Click here to call us now at 1-800-222-1111.</a>

This handy convergence of mobile technology, HTML 5, Javascript and Google Analytics allows us to easily track calls that initiate from mobile pages. This is especially useful relative to desktop browsers, from which it remains difficult to track phone calls that your website has prompted.

Please share this post:
Facebook Twitter Plusone Linkedin Email

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>