Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Asayer Destination


Destination Info
  • Accepts Identify and Track calls.
  • In Device-mode, refer to it as asayer in the Integrations object
  • This integration is partner owned. Please reach out to the partner's support for any issues.
Connection Modes
Device-modeCloud-mode
Web Web
Mobile Mobile
Server Server

Asayer(link takes you to an external page) 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.


Getting Started

getting-started page anchor
  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(link takes you to an external page) 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:

analytics.identify();

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

analytics.identify("userId123");

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

1
analytics.identify("userId123", {
2
displayName: "Iron Man",
3
email: "iron@man.com"
4
plan: "pro"
5
});

NOTE: All traits, as well as userId and anonymousId fields must be explicitly enabled within the Asayer dashboard under Preferences -> Custom Fields(link takes you to an external page) 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:

1
analytics.track('New Order', {
2
orderId: '123456',
3
productName: 'Shoe',
4
price: 44.95,
5
currency: 'USD'
6
});

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.

Property nameTypeRequiredDescription
Site IDstring
required

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