W
W
wismel2017-10-12 11:35:21
JavaScript
wismel, 2017-10-12 11:35:21

Copied/highlighted email/tel. on the site - how to set this as a goal for Yandex.Metrica?

The footer of rekmedia.ru contains a phone number and email address

<div class="telcodediv"><div>(495)</div></div>
<div class="teldiv">374-82-81</div>

<a href="mailto:[email protected]">[email protected]</a>

Is it possible to track using goals in Yandex metrics when a user selects / copies a phone or email. To understand which of them chose the opportunity to contact in this way.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
O
Oleg, 2017-10-12
@politon

Does it make sense to copy?
Hang on click.

<a href="mailto:[email protected]">[email protected]</a>
- opens the client by default on the phone or computer.
Reverse phone.
<a href="tel:+74953748281" class="teldiv"><span class="telcodediv">(495)</span>374-82-81</ a>
- no one presses the number from the computer))), but simply enter it into the phone. And when you open it in the tablet, you just press the number and get into the set;)

P
postolya, 2017-11-12
@postolya

Not all people, after copying, write to the mail, or write but do not copy beforehand, but simply type with their hands. Testing a lot of options, I realized that you don’t need to reinvent the wheel, because. I already have email tracking for a long time, I use the alfa-track service

I
imhuman, 2017-10-12
@imhuman

Event mouseup, you look at the selected text, check if it matches your phone number or email. If yes, then you do reachGoal. But really stupid way. Easier to track incoming calls and emails.

B
Barmunk, 2017-10-12
@Barmunk

track block selection using js and send the goal to the metric
selection example
jsfiddle.net/timdown/SW54T
sending the goal
https://yandex.ru/support/metrika/objects/reachgoal.xml

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question