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.
  1. Step 1. Configure Turbo page elements in Yandex Direct
  2. Step 2. Set goals in Yandex Metrica
  3. Step 3. Launch a Turbo page and check its goal

Step 1. Configure Turbo page elements in Yandex Direct

  1. Go to the Turbo page editor in Yandex Direct.
  2. Click Advanced settings in the right-hand menu.
  3. Select the item you want to set a goal for and click the edit icon.
  4. Find the Yandex Metrica goals field and enter the goal ID. For example, tel-turbo.
  5. Set IDs for the elements you need.
  6. Save your changes.

Step 2. Set goals in Yandex Metrica

  1. Go to Yandex Metrica and open the settings for the tag you specified in the Turbo page editor in Yandex Direct.
  2. Go to the Goals tab and click Add goal.
  3. Choose JavaScript event.
  4. Enter any goal name in the Name field.
  5. 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.
  6. 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.

  1. Go to the Turbo page editor in Yandex Direct.
  2. Click and select Preview links.
  3. Click the link to preview your page.
  4. 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.

If you were unable to independently check the tag, follow the recommendations below.

This might happen for the following reasons:

  • The tag is installed incorrectly. For example, the CMS modified the code snippet. Reinstall the tag or contact the support service for your CMS.
  • Broken scripts are preventing the Yandex Metrica tag from working on the site. You can check this in the browser console.

This means that information is being transmitted to Yandex Metrica. However, the data might not be shown in reports for any of the following reasons:

  • Data is sent to a tag with a different number.
  • The Filters tab in the tag settings has overly strict filters defined. Remove unneeded filters.
  • The Filters tab in the tag settings has the Don't count my sessions filter enabled. This means that the tag doesn't register your own sessions. Try accessing the site with your browser in “incognito” mode.