Lytics

Customer data platform specialising in real-time behavioural scoring, audience building, and first-party data activation.

Prerequisites

Complete these steps in Lytics before configuring Signal.

Access your Lytics account

Log in to the Lytics dashboard at app.lytics.io. If you do not have an account, contact your Lytics representative.

Find your Account ID

Navigate to Account > Account Settings. Your Account ID is displayed on this page. Copy it for use in Signal configuration.

Create a data stream

Navigate to Data > Data Streams and click Create Stream. Give the stream a descriptive name (e.g. “Datafly Signal Events”). Select Server-side as the stream type. After creation, note the Stream Name exactly as displayed — this is case-sensitive.

Generate an API token

Go to Account > API Tokens and click Create Token. Provide a name (e.g. “Datafly Signal”) and assign data write permissions. Copy the token immediately.

Configuration

FieldTypeRequiredDescription
api_tokensecretYesYour Lytics API token. Generated in Account > API Tokens.
account_idstringYesYour Lytics account ID. Found in Account > Account Settings.
stream_namestringYesThe Lytics data stream name. Must match an existing stream (case-sensitive).

Signal Setup

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find Lytics or filter by CDP.
  4. Click Install, and fill in the required fields with the credentials gathered above.
  5. Click Install Integration to create the integration with a ready-to-use default configuration.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/lytics/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Lytics",
    "variant": "default",
    "config": {
      "api_token": "xxxxxxxxxxxxxxxxxxxx",
      "account_id": "1234",
      "stream_name": "datafly_events"
    },
    "delivery_mode": "server_side"
  }'

Event Mapping

Signal events are mapped to Lytics API calls as follows:

Signal EventLytics ConceptNotes
pageData stream eventPage view data sent as a stream event with URL, title, and referrer properties
trackData stream eventEvent name and properties forwarded to the specified Lytics data stream
identifyUser profile updateTraits merged into the Lytics user profile for audience segmentation

Lytics builds user profiles from stream data using identity resolution. Include consistent identifiers (email, user ID) for accurate profile stitching and behavioural scoring.

Delivery

Events are delivered server-side from your Datafly Signal infrastructure directly to the Lytics API. No client-side scripts are loaded for this integration.

Testing

  1. After installing the integration, trigger a test event from your website or via the Signal event API.
  2. In Lytics, navigate to Data > Data Streams and select your stream. Check the stream activity to verify events are being ingested.
  3. Search for the test user under Users to verify profile creation and behavioural data.
  4. In Signal, check the Live Events view to confirm the event was delivered with a 200 response status.

Troubleshooting

SymptomPossible CauseResolution
401 UnauthorizedInvalid API tokenRegenerate the token in Lytics Account > API Tokens and update the integration config
404 Not FoundIncorrect stream nameVerify the stream name exactly matches (case-sensitive) the stream in Lytics Data > Data Streams
400 Bad RequestInvalid account IDVerify the account ID in Lytics Account > Account Settings
Events received but user not createdMissing identifiersInclude at least one identifier (email, user ID) in events for Lytics profile stitching
Data not appearing in audiencesAudience rules mismatchEnsure your audience segment rules match the event properties being sent

Visit Lytics documentation for full API reference and data stream configuration details.