OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Android devices adding tracking data to tel: schemes in emails

  • Thread starter Thread starter colosull
  • Start date Start date
C

colosull

Guest
I work as an email developer, I primarily work within Salesforce marketing cloud.

In some of the emails I work on, we have two CTAs: 'Call Us' and 'Email Us'. Since the links are not a standard tag with a URL that we can add tracking UTMs to, we have a "hack" where we inject the number/email address into the CTA href properties, which allows us to track clicks. At the head of the email, we have some AMPscript variables that look like this.

Code:
    %%[

    VAR @Email_CTA
    VAR @Call_CTA

    /* UPDATE Email and Call CTA HERE */
    SET @Email_CTA = Concat("mailto:[email protected]")
    SET @Call_CTA = "tel:+12223334444”

    ]%%

And our Anchor tags look like this

Code:
     <a href="%%=RedirectTo(@Call_CTA)=%%" alias="Call_CTA">Call Us</a>


     <a href="%%=RedirectTo(@Email_CTA)=%%" alias="Email_CTA">Email Us</a>

We learned recently that on Android devices using Gmail, Outlook or Yahoo email clients, when someone uses the "Call Us" CTA we are seeing an injection of tracking data onto the end of the number as it's taken into the phones calling app.

Looking into it, the only solution we have found so far is to not use the AMPscript for the "Call Us" CTA, but this leaves us unable to track clicks for this CTA.
<p>I work as an email developer, I primarily work within Salesforce marketing cloud.</p>
<p>In some of the emails I work on, we have two CTAs: 'Call Us' and 'Email Us'. Since the links are not a standard tag with a URL that we can add tracking UTMs to, we have a "hack" where we inject the number/email address into the CTA href properties, which allows us to track clicks. At the head of the email, we have some AMPscript variables that look like this.</p>
<pre><code> %%[

VAR @Email_CTA
VAR @Call_CTA

/* UPDATE Email and Call CTA HERE */
SET @Email_CTA = Concat("mailto:[email protected]")
SET @Call_CTA = "tel:+12223334444”

]%%
</code></pre>
<p>And our Anchor tags look like this</p>
<pre><code> <a href="%%=RedirectTo(@Call_CTA)=%%" alias="Call_CTA">Call Us</a>


 <a href="%%=RedirectTo(@Email_CTA)=%%" alias="Email_CTA">Email Us</a>
</code></pre>
<p>We learned recently that on Android devices using Gmail, Outlook or Yahoo email clients, when someone uses the "Call Us" CTA we are seeing an injection of tracking data onto the end of the number as it's taken into the phones calling app.</p>
<p>Looking into it, the only solution we have found so far is to not use the AMPscript for the "Call Us" CTA, but this leaves us unable to track clicks for this CTA.</p>
Continue reading...
 

Latest posts

Top