Asayer Destination

Destination Info
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

Asayer is a session replay tool for engineering teams. It lets you capture the full picture of each user session on your website so you can quickly solve issues and improve your customer experience.

This destination is maintained by Asayer. For any issues with the destination, contact the Asayer Support team.

This document is about a destination which is in beta

This means that the Asayer Destination is in active development, and some functionality may change before it becomes generally available.

Getting Started

Before you start, make sure Asayer supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.

Web Mobile Server
📱 Device-mode ⬜️ ⬜️
☁️ Cloud-mode ⬜️ ⬜️ ⬜️
  1. From the Segment web app, click Catalog.
  2. Search for “Asayer” in the Catalog, select it, and choose which of your sources to connect the destination to.
  3. Set your Asayer Site ID into your Destination settings. You can find in the Asayer dashboard by clicking Preferences > Sites > Tracking Code. The Site ID is a whole number (e.g. 435).

Your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading Asayer’s tracking code onto your website.

In the meantime, remove Asayer’s native snippet from your site.


If you’re not familiar with the Segment Specs, take a look to understand what the Identify method does. Identify calls sent to Segment will be transformed and sent to Asayer’s asayer.vars method.

An example call which does not include a userId will transmit Asayer the value of the anonymousId and would look like:


If an Identify call contains a userId, that will be sent to Asayer.


In case Segment sends over any traits in the identify call, these will be passed as custom fields to Asayer.

analytics.identify("userId123", {
  displayName: "Iron Man",
  email: ""
  plan: "pro"

NOTE: All traits, as well as userId and anonymousId fields must be explicitly enabled within the Asayer dashboard under Preferences -> Custom Fields before they will successfully send.


If you’re not familiar with the Segment Specs, take a look to understand what the Track method does. An example call would look like:

analytics.track('New Order', {
    orderId: '123456',
    productName: 'Shoe',
    price: 44.95,
    currency: 'USD'

Track calls will be sent to Asayer using its asayer.event method as a track event.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Setting Description
Site ID
string. The ID associated with your project. You can find in Preferences -> Projects in your Asayer app.

This page was last modified: 08 Mar 2022

Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
Create free account