Track clicks on phone numbers

  1. Restrictions
Note. The goal is created automatically if the Automatic goals option is enabled in the tag settings.You can manage this goal just like other automatic goals.

If your site provides a phone number as a link, you can track how often users click or tap on it. This can help you determine the correlation between the number of user interactions with phone numbers and the actual number of calls. This information can be useful if you don't use call tracking.

To collect the data in Yandex Metrica, you need to set up a special goal. You can create this kind of goal:
  • For all phone numbers on a site. Yandex Metrica recognizes phone numbers by the presence of tel in links. For example:
    <a href="tel:+70123456789">+7 (012) 345-67-89</a>
  • For a specific number. Yandex Metrica searches for tel:<specified number> in links.

A conversion is recorded when the user clicks or taps on the link. To view goal statistics, use the Conversions report and add the goal to other Yandex Metrica reports.

To create a goal manually:
  1. In Yandex Metrica, go to the Goals page in the left menu.
  2. Click Add goal.
  3. In the Name field, enter a name for the goal to create.
  4. Select the goal type Click on phone number.
  5. Select which numbers to create a goal for. If you chose Specific number, enter the same number in the field as in the link. For example, +70123456789. Make sure the spelling matches.
  6. For more accurate goal recording when the site is viewed from a computer, enable partial hiding of the number. This will help you determine how many desktop site users wanted to see your phone number. It won't affect the layout of your number.
    Hiding is possible for numbers marked up as links without tags inside the number. For example, hiding will work for this number:
    <a href="tel:+70123456789">+7 (012) 345-67-89</a>

    But it won't work for this one:

    <div><a href='tel:+70123456789'>+7<span>012</span>345-67-89</a></div>
  7. Click Add goal. The created goal will appear in the list of goals. Yandex Metrica will start collecting statistics on it within a few minutes.
  8. You can check whether the goal is working in the Conversions report. Data should appear in it. To check, perform a target action on the site. If Don't count my sessions is set as a filter, check the goals on the site in the browser's private mode (for example, Incognito mode in Yandex Browser).

Restrictions

  • If the site address in the tag settings differs from the domain of the site that the goal is being created for, then the preview is not available when hiding the number is enabled.
  • Hiding the number may not work correctly if the styles for the span element are set on your site.
  • This type of goal can't be used in Multi-step goals.
  • The service registers a user that completes the same goal on the same tag no more than once per second.
  • During a single user session, the service can register up to 400 completions of all the goals created for a tag.
  • If you edit a tag or goal, previously collected information doesn't change.
  • If you delete a goal, information collected for it, is no longer available in reports.

Select a question to find a solution.

Goals in Yandex Metrica work the same way for any source. Perhaps there aren't any users who have completed the goal from this source yet.


This might happen for the following reasons:
  • The goal condition in Yandex Metrica doesn't cover all the possibilities. For example, the goal is set as going to the order confirmation page, but the site also allows instant checkout without visiting this page.
  • The site user has a browser plugin that blocks the Yandex Metrica tag, so this user isn't counted.
  • The user has an antivirus system with strict privacy settings.
  • The user has a slow internet connection, so the Yandex Metrica tag didn't load on the target page.