Integration with Yandex.Metrica

Creating a counter

For adding and setting goals, you should initially register on Yandex, log in to Yandex.Metrika and create a counter:

Yandex metric 1

Click on "Create a counter" icon, think of a name for it and enter your site. Go into counter settings:

Yandex metric 2

Number of counter

In the settings, you need to copy the counter number (for further integration with the form):

Yandex metric 3

Add Goal

Click the "Add Goal" button to continue working with the settings. The Options screen pops up:

Yandex metric 4

The "JavaScript event" condition type in the target, which you're interested in, allows you to track events on the site (form fills, etc.),

The information about achievement of such goal is sent to Yandex.Metrica using JavaScript. This way you can track almost any arbitrary event:

Yandex metric 5

Add goal to form

Completion of a specific action by a site visitor is our goal. To set the counter of goal event you must enter the keyword in the "Target ID" field. Its form can be arbitrary, but specified in Latin letters, with the condition that does not occur in the source code of the page. Otherwise, there can be distortions in the statistics.

To add goals to your form, go to your form list, click "Settings" on the form and select "Analytics" from the menu:

Yandex metric 7

Enter the Yandex.Metric counter number you previously received and the goal ID in the "Goal ID for Yandex.Metrica" field, which you set in the JavaScript event:

Yandex metric 7

The executed event is the submission of the form. Don't forget to save the form settings. To view the report of the goals you have set, you need to go to "Reports" in Yandex.Metrica.

Comments

Order turnkey form development

No time to figure out all the settings yourself? No problem!
Order web form development from us