On my website I have an anchor tag that has a property href="tel:0111 111 111"
and using the google Chrome extension Omnibug, I can see that Adobe Analytics is firing twice on this event when this link is clicked.
On another element I have, where the href="https://mywebsite.com", the event is only triggered once.
They're in separate divs but with the same class name, using the same js function. Everything is identical. After a trial-and-error investigation, I found the only difference is the tel: number inside the href.
I've turned off the setting 'Show redirected entries' in case it was a redirect. I cannot see the data myself, but someone else has assured me that they are indeed seeing this double event within their analytics.
I've also removed another element inside the div so that the anchor tag is the only element, to remove any possibility of bubbling events happening, but it still fires twice.
Ideally the href for tel should only fire once.
Has anyone else come across this or have some ideas?
Thanks in advance
UPDATE to provide code (some edits to keep site private):
// this a tag triggers twice
<a class="js-website-contact" href="tel:01111 111 111">
<partial name="~/Views/Shared/Components/SVG/_IconWebsiteContact.cshtml" />
//this a tag only triggers once
<a class="js-website-directions" href="@StoreDirections">
<partial name="~/Views/Shared/Components/SVG/_IconWebsiteDirections.cshtml" />
Note: the partial component is only a path for an svg file
Solved! Go to Solution.
Have you checked whether the tel link click tracking was live before you added a dedicated rule (maybe the second event belongs to the exit link/ custom link tracking managed separately)?