활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi,
I'd like to track phone number clicks on a website where the numbers are in HTML tel: tag
<a href="tel:1-800-262-562529">Call us</a>
How can I do this in Adobe Launch. I see there is a CSS selector option in Adobe Launch > Core > Click > CSS rules but is there not a Click option where I can put a Regex, if link click URL matches "tel:" THEN fire rule?
Thanks.
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
By using the same logic wouldn't a[href^="mailto:"] be used to track email clicks? Its not working for me. 😕 any solutions?
조회 수
답글
좋아요 수
Yes, that selector should work provided that your "mailto" link is really a "mailto" link. Test the selector by opening your browser console and running
document.querySelectorAll('a[href^="malto:"]')
If the console returns a list with zero items, then your mailto link isn't a regular mailto link, and you need to inspect your HTML code further to determine the correct selector to use.
If the console returns a non-zero list of links, then there might be another problem elsewhere. For example, the mailto link might be dynamically generated by another script, but your rule runs before that script has generated the mailto link.