Drift: Configure Webhooks
Lytics highly recommends setting up Drift event webhooks for real time event capture of your events. This will allow Lytics to get real-time activity data on your Drift integrated conversations.
Note: If you are running a continous import from Drift and using webhooks, some user activity data may be captured twice.
- Go to Drift's developer site and click on Build your app or Create new app after logging in.
- Click on OAuth & Scopes
- Under the scopes heading, from the add permissions by scopes Dropdown, select the following permissions:
- contact_read
- conversation_read
- Under the Events tab:
- Fill in the request URL with
https://api.lytics.io/api/collect/json/drift?access_token=YOUR_API_TOKEN
whereYOUR_API_TOKEN
is your Lytics API token. You can create a new Lytics API token from your Lytics account settings. - Under the Subscribe to events heading add
contact_identified
,new_message
, andnew_conversation
.
- Fill in the request URL with
- Under the Display Information tab, set the app name to "Lytics Webhooks".
- Under the Install to Drift tab click the Install App to Drift button. Lytics will start receiving the selected events from drift