Analytics Log - Adil Khan

View Original

How To Setup Phone Number Call Link Clicks Tracking In Adobe Launch

If you wanted to setup phone call click tracking in Google Tag Manager, you’d just go to Triggers > Link Clicks > Click URL matches Regex “tel:”

Example: Zappos.com has a clickable phone number with the tel: tag used on site.

How would you setup in Adobe Launch?

In Rules > Events > Core > Click, you can only see CSS elements. I posted this question in Adobe Launch forum and got the answer here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform-launch/tracking-call-clicks-via-adobe-launch/qaq-p/398162/comment-id/2561#M2561

The CSS rule you need to use here is “a[href^="tel:"]” based on CSS triggers.

If you check this link for CSS references, you’ll find this one where Regex patterns can be used for href links: https://www.w3schools.com/cssref/css_selectors.asp

^ in Regex means that that link begins with whatever you define under “ “ while $ in Regex means that it ends with “ “. Since our HTML for telephone numbers on site will begin with tel:, you can use the CSS selector as “a[href^="tel:"]” and your phone call link click tracking should work.