Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

Goal Tracking Not Working for Email and Phone Links (mailto: and tel:)

$
0
0

Hi Matomo Community,

I’m having trouble setting up goal tracking for email (mailto:) and phone (tel:) links on my website. Here’s what I’ve done so far:

  1. Set up goals in Matomo with the type “Manually trigger a conversion by calling the JavaScript method _paq.push(['trackGoal', ID]);.
  2. Added onclick events to the email and phone links, as per the example below:

  1. Verified that the Matomo tracking code is correctly installed and that matomo.php is accessible.

Issue:

  • Goal tracking for email and phone links is not working. Clicks on these links are not being recorded in Matomo, even though the onclick events are firing.
  • The WhatsApp link goal (external link) works perfectly.

What I’ve Tried:

  • Added return true; to the onclick events.
  • Tested in multiple browsers (Brave, Microsoft Edge, Firefox).

Questions:

  1. Why are email and phone link goals not being tracked?
  2. Are there any additional steps or configurations required to track mailto: and tel: links in Matomo?
  3. How can I debug this issue further?

Any help would be greatly appreciated!

Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles