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.

Lytics Destination


Destination Info
  • Accepts Page, Alias, Identify and Track calls.
  • Refer to it as Lytics in the Integrations object
Connection Modes
Device-modeCloud-mode
Web Web
Mobile Mobile
Server Server

Getting Started

getting-started page anchor
  1. Lytics uses Segment's JavaScript library so make sure to go through our quickstart guide to get set up 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.

You can see what data fields Lytics pulls in by default(link takes you to an external page).


You can send computed traits and audiences generated using Engage to this destination as a user property. To learn more about Engage, schedule a demo(link takes you to an external page).

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to false.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

(information)

Real-time to batch destination sync frequency

Real-time audience syncs to Lytics may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.


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

Property nameTypeRequiredDescription
API Keystring

Optional

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 Entityboolean

Optional

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

Default: false

CIDstring
required

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


Allow UID Sharing Across Multiple Domainsboolean

Optional

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

Default: false

Streamstring

Optional

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

Default: default