Goals on Turbo pages created in Yandex Direct
If you specified your own Yandex Metrica tag in the Turbo page editor in Yandex Direct, you can configure Yandex Metrica goals for clickable elements on Turbo pages:
- Buttons, including buttons for submitting forms.
- Addresses.
- Phone numbers.
- Step 1. Configure Turbo page elements in Yandex Direct
- Step 2. Set goals in Yandex Metrica
- Step 3. Launch a Turbo page and check its goal
Step 1. Configure Turbo page elements in Yandex Direct
- Go to the Turbo page editor in Yandex Direct.
- Click Advanced settings in the right-hand menu.
- Select the item you want to set a goal for and click the edit icon.
- Find the Yandex Metrica goals field and enter the goal ID. For example, tel-turbo.
- Set IDs for the elements you need.
- Save your changes.
Step 2. Set goals in Yandex Metrica
- Go to Yandex Metrica and open the settings for the tag you specified in the Turbo page editor in Yandex Direct.
- Go to the Goals tab and click Add goal.
- Choose JavaScript event.
- Enter any goal name in the Name field.
- Find the Goal ID field, enter the value you entered for the same element in the Turbo page editor (tel-turbo in this example), and 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.
- Do the same for all the other elements you wish to track.
Step 3. Launch a Turbo page and check its goal
Make sure your Turbo page is ready for publication and post it. After you do that, check your goal.
- Go to the Turbo page editor in Yandex Direct.
- Click and select Preview links.
- Click the link to preview your page.
- Add _ym_debug=1 to your URL and follow the instructions.
To view goal statistics, use the Conversions report. You can also add goals to most reports in Yandex Metrica. For more information, see How to create a report on a goal.