开发者

tracking clicks on anchor tel links

开发者 https://www.devze.com 2023-03-31 11:00 出处:网络
I am embedding anchor links on mobile smart phone browsers using the tel a开发者_JS百科nchor link.

I am embedding anchor links on mobile smart phone browsers using the tel a开发者_JS百科nchor link.

<a href='tel:xxx-yyy-zzzz'>xxx-yyy-zzzz</a> 

My understanding is that the smart phone intercepts the link and allows the user to directly call.

How can i track the user click on this link?

use a 302 redirect?


The only answer is to use a redirect, sorry.

<a href="redirect.php?number=123-456-798">Call Us</a>

Then, on redirect.php do a 302 redirect to the tel protocol for the number you have passed (or the default number).

Record the hits on redirect.php

0

精彩评论

暂无评论...
验证码 换一张
取 消