Installing a tag on a Turbo page
There are several types of Turbo pages:
- Pages used in Yandex Direct ads. They are generated in Yandex Direct.
- For display in search results — generated in Yandex Webmaster.
Tip
To make work with statistics more convenient, use the same tag on your site and its Turbo pages.
Installing a tag on a Turbo page created in Yandex Direct
When you create a Turbo page in Yandex Direct, an auto-generated tag is created. The ad campaign owner gets access to view the statistics. You can’t connect Session Replay to an auto-generated tag. To edit the tag settings and grant access to statistics to other users, link your own tag to the ad campaign and set goals.
-
Go to Yandex Direct and your campaign settings and enter your tag ID or the ID of the tag you have guest access to and the right to edit.
-
To start collecting data on Turbo pages with Yandex.Metrica, set specific tag settings: make sure that the Additional addresses field says
yandex.ru/turbo
and the Turbo site URL likedomain.turbo.site
, wheredomain
is your Turbo site's URL in Yandex.Direct.Note
Additional addresses are optional. Make sure that Receive data only from specified addresses is turned off and that no addresses are blocked by your tag filter settings.
Alert
A single user can create no more than 100,000 tags.
-
Log in to Yandex Metrica. If you don’t have an account, please register.
-
On the tag list page, add a tag. The tag setup page opens.
-
Fill in the information:
- Tag name — Enter any name.
- Site URL— Enter the site domain that you use Turbo pages for.
- Additional addresses — Enter
yandex.ru/turbo
and the Turbo site URL likedomen.turbo.site
, wheredomen
is your Turbo site's URL in Yandex.Direct.
Note
Additional addresses are optional. Make sure that Receive data only from specified addresses is turned off and that no addresses are blocked by your tag filter settings.
-
Accept the terms of the User Agreement.
-
Click Create a tag.
-
Specify the tag ID in the Yandex Direct campaign settings.
Install a tag on a Turbo page created in Yandex Webmaster
How to create a separate tag for Turbo pages
Alert
A single user can create no more than 100,000 tags.
-
Log in to Yandex Metrica. If you don’t have an account, please register.
-
On the tag list page, add a tag. The tag setup page opens.
-
Fill in the information:
- Tag name — Enter any name.
- Site URL — Enter the site domain that you use Turbo pages for.
-
Accept the terms of the User Agreement.
-
Click Create a tag.
You can enable additional settings for the tag.
There are several ways to set up a Yandex Metrica tag:
Go to Turbo pages -> Settings and do the following:
- Under General site information, select Yandex Metrica in the Tags field and enter the tag ID.
- Save the changes.
-
In the
turbo:analytics
element, specify:Attribute
Description
type
*Accepts the
Yandex
value.id
*Yandex Metrica tag ID.
params
Use it to send session parameters.
*Required attribute.
... <channel> ... <turbo:analytics id="tag number" type="Yandex" params="{ 'param' : 'val' }"> </turbo:analytics> ... </channel> </rss>
You can specify multiple
turbo:analytics
elements with different tag IDs. -
Upload the generated file to Yandex Webmaster.
Note
If you specified a tag in an RSS feed and in Yandex Webmaster, the RSS data takes priority.
Learn more
Useful links |
Online training |