Lytics Destination

Segment makes it easy to send your data to Lytics (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to Lytics in the format they understand. Learn more about how to use Lytics with Segment.

Getting Started

  1. Lytics uses our Javascript library so make sure to go through our quickstart guide to get setup on that first.

2) Once you’re recording data enable Lytics on your destination page using your Customer ID number, which can be found in the admin section of your Lytics account: Account -> Manage Accounts.

cid

You can also enter your Data API Key under Advanced Options. The data API Key can send data to Lytics, but not edit your account info. The Full API Key has access to edit all of your account info, so it should not be used for sending data.

api

Paste into your Destination page:

key

Features

You can see what data fields Lytics pulls in by default. However, if you would like to pull in any custom data, you can test it here. This is generally not necessary when using Segment.


Personas

You can send computed traits and audiences generated through Segment Personas to this destination as a user property. To learn more about Personas, reach out for a demo.

For user-property destinations, an identify call will be sent to the destination for each user being added and removed. The property name will be the snake_cased version of the audience name you provide with a true/false value. For example, when a user first completes an order in the last 30 days, we will send an identify call with the property order_completed_last_30days: true, and when this user no longer satisfies we will set that value to false.

When the audience is first created an identify call is sent for every user in the audience. Subsequent syncs will only send updates for those users which were added or removed since the last sync.

Supported Sources and Connection Modes

WebMobileServer
📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.

Settings

Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

API Key

Your API key should be a series of numbers and letters, like 3daDLlqb4ANg7l0rf4cfl6xF. This is only required if you are using the Lytics server side integration.

Ensure Entity

If true, ensures entity returned from Lytics personalization api reflects all events from current page view.

CID

Your CID should be a series of numbers, like 9289.

Allow UID Sharing Across Multiple Domains

If true, allows for the Lytics _uid to load the same across multiple domains.

Stream

A brief, but informative name for organizating your data in Lytics. Only necessary when you are tracking multiple websites.


If you have any questions, or see anywhere we can improve our documentation, please let us know!