Setting up substitution if the number is shown as a link
If the phone number on your site is displayed as a link, you can set up substitution by following these steps:
aelement in another substitution element. For example:
<div class="ya-phone"><a href="tel:+74951234567">+7 (495) 123-45-67</a></div>
- +74951234567 is your phone number.
- class is the attribute for the substitution element.
- ya-phone is the element name.
Get a special number, as explained in Step 2. Connecting a Target Call number. When filling in substitution parameters, enter the a element in the
Replacement textfield like this: