Tracking offline data

When a user visits your website, Yandex.Metrica collects information about the user's characteristics, behavior on the website, and goals completed. But your business might have other important information that it collects offline about payments, calls, and so on. You can transmit this data to Yandex.Metrica and link the behavior of your customers on the website to their actions offline.

Transmitting offline data can help you to:

  • Connect users' online and offline history to get a better view of the conversion funnel.
  • Use offline data for advertising: create segments for advertising in Yandex.Direct, including targeting new users with look-alike technology available in the Yandex.Audience service.

You can transmit the following types of offline data:

  1. Using IDs to track offline data
  2. Recording offline conversions
  3. Questions and answers

Using IDs to track offline data

To link offline data to website users and their sessions, Yandex.Metrica uses multiple IDs:

Unique website session ID created automatically by Yandex.Metrica.

Used for tracking offline conversions and calls and transmitting user parameters.

You can use the ClientID if your website doesn't have a dedicated ID framework or you don't need one. Use the getClientID method to get the IDs.

Recording offline conversions

The Recording offline conversions option specifies the time interval during which session data can be supplemented with conversion information that you transmit to Yandex.Metrica.

In some cases, there is quite a long delay between the session and the conversion, like if the conversion action is performed offline. This is why the conversion tracking period is 21 days. This means that data about an offline conversion is added to a session if 21 days or less have passed since the user's last session on the site when the file with conversion data is processed.

Offline conversions will only be added to sessions that take place after the option is enabled. The time interval for changing session information increases incrementally. On the day after enabling this option, the interval is one day, and it keeps getting longer until it reaches a maximum of 21 days.

A conversion will not be linked to a session if the conversion or your transmission of conversion data takes place more than 21 days after the session on the website.

If you use different IDs, conversion attribution methods will differ:

  • ClientID and UserID. Offline conversions and calls are added to the user's session that directly preceded them. For example, the user had three sessions: March 1, March 5, and March 11. On March 10, this user paid for an order at a retail store, and this date was registered in the CRM. On March 20, the manager sent the data to Yandex.Metrica. The order paid for on March 10 was added to the customer's website session as of March 5.
  • yclid. Conversions will be added to a session initiated through an ad linked to the transferred yclid.

Questions and answers

Is it possible to track a conversion if the user viewed my page but made an offline order?

Tracking offline conversions can be more complicated. If you want to link an online event to an offline one, you first need to combine their entities. For example, if your online action is an order, then the link would be an order number, and if it's a call, then your link would be a phone number. If you want to link a website session with an offline action, you can display unique promo codes to users that they could then show in the store.