Enabling and configuring Session Replay 2.0

Attention. Session Replay 2.0 is in beta mode.
  1. Enabling
  2. Configuring recording form fields

Enabling

  1. In the Yandex.Metrica interface, go to Settings and open the Tag tab.
  2. Select the Session Replay, scroll map, form analytics option.
  3. On the Session Replay tab, set the Session Replay option to On.
  4. Save your changes.
  5. Install the updated code snippet on all the site's pages.

Configuring recording form fields

Session Replay records the actions of site users, including filling in form fields. The contents of fields where the user enters sensitive information (such as name or credit card information) are automatically masked with “asterisks”. If a field is mistakenly identified as confidential, you can fix this: mark the field with the ym-record-keys CSS class.

If you don't want Session Replay to record any fields, disable the Record all fields option on the Session Replay tab in Settings.

Customizing recording of individual fields

Enable recording individual fields
  1. Disable the Record all fields option.
  2. Set the CSS class -ym-record-keys for the fields that you want to record the contents of.

Session Replay will only record those fields that are marked with the -ym-record-keys CSS class.

Disable recording individual fields
  1. Enable the Record all fields option.
  2. Set the CSS class -ym-disable-keys for the fields that you don't want to record the contents of.

Session Replay will record all fields except the ones that are marked with the -ym-disable-keys CSS class. The contents of fields that Yandex.Metrica determines to contain sensitive information (such as name or credit card information) are automatically masked with “asterisks”.