This guide helps you set up a small script that automatically tracks when users click on emails or phone numbers on your website. It sends that info to your tracking system.
What it does:
The script waits until your page is fully loaded before running.
What you need to do:
Nothing! Just add the script in the right place (see step 2).
Where to add it:
Place the script before the closing </head> tag
Code to add:
The script automatically tracks when people:
When someone clicks:
Email link example:
Phone number link example:
Plain text (no link):
All of these will be tracked automatically when clicked.
Email Link Example:
(Missing "mailto:" protocol in the link.)
Phone Number Link Example:
(Missing "tel:" protocol in the link.)
Plain Text Example:
(Lacks interactivity.)
Make sure your site sets the cookies visitorId and visitId