Please wait while we set up your account
We use cookies and similar technologies to improve your experience, analyse traffic, and personalise content. You can accept all cookies or reject non-essential ones.
The Clickstream Publisher lets you capture real-time behavioural events from your website or mobile app — page views, button taps, screen transitions, and custom events — and route them directly into a SurveyAnalytica workflow. Each event arrives as structured data that workflow conditions and actions can act on immediately.
You install a lightweight SDK in your app or site. The SDK collects events, batches them, and sends them to a dedicated endpoint tied to one workflow. That workflow can write events to a data table, update a contact record, trigger a survey, or run any other action you configure.
Each source (website, iOS app, Android app) gets its own workflow with its own API key and endpoint URL, so you can control data routing and access independently.
After selecting the Clickstream trigger, the trigger drawer shows:
https://<your-domain>/api/v1/clickstream/<workflow-id>.Use the copy icons next to each value. You will need both when initialising the SDK.
Click Generate New under the KEY to rotate the API key at any time. After rotating, update the key in your SDK configuration — the old key stops working immediately.
Choose the guide for your platform:
With the trigger active, add actions to handle the incoming events. A typical Clickstream workflow includes:
| Event type | When it fires |
|---|---|
event |
Any named event you track manually, including automatic page views (eventName: page_view). |
uid_transition |
When a user logs in and the SDK links their anonymous session to their known contact ID. |
consent_rejected |
When your app calls setConsent(false). Tracking stops and prior anonymous IDs are cleared. |
Click Activate in the workflow builder. The endpoint is live immediately. Events sent by the SDK before the workflow is activated are not received — activate before deploying the SDK to your users.