Metadata

How to use Metadata in Asayer. Also applicable to Segment User Traits.

1. Explicitly specify the Metadata

Metadata can be simply specified in Preferences > Metadata. In the below example, plan is being used.

Metadata in Asayer Preferences

2. Inject Metadata when recording sessions

You can then use the metadata method in your code to inject the key/value of your metadata. Check our API documentation for more details.

tracker.metadata('plan', 'premium');

3. Search for Sessions using Metadata

Newly recorded sessions can then be found from the Search bar directly using these Metadata (i.e. by plan).

Search using Metadata

4. Metadata display in Session Replay

Metadata are also displayed alongside each session replay. Similar sessions can also be searched from the popup, without leaving the session replay page.

Metadata in Session Replay