Integrations
Connect Deway with your analytics and notification tools to track events and stay informed.
Available Integrations
Deway supports the following integrations:
| Integration | Type | Description |
|---|---|---|
| Mixpanel | Analytics | Track chat and walkthrough events |
| Amplitude | Analytics | Product analytics with US/EU data residency |
| Segment | CDP | Send events to your data warehouse |
| Google Analytics | Analytics | Track conversations in GA |
| HubSpot | CRM | Sync conversation data to CRM |
| Slack | Notifications | Get notified about conversations |
| Webhooks | Custom | Send events to custom endpoints |
| Woopra | Analytics | Customer journey analytics |
Setting Up Integrations
Step 1: Navigate to Integrations
Go to Settings > Integrations in the admin dashboard.
Step 2: Select an Integration
Click on the integration you want to configure.
Step 3: Enter Credentials
Each integration requires specific credentials:
| Integration | Required Credentials |
|---|---|
| Mixpanel | Token, Region (US/EU) |
| Amplitude | API Key, Data Location (US/EU) |
| Segment | Write Key, Region (US/EU) |
| Google Analytics | Tracking ID |
| HubSpot | API Key |
| Slack | Webhook URL |
| Webhooks | Endpoint URL |
| Woopra | Domain |
Step 4: Enable
Toggle the integration to Enabled and save.
Events Sent
Deway sends the following events to your integrations:
Chat Events
Triggered when users interact with the chat widget.
| Event | Description |
|---|---|
chats | Chat session created or updated |
Properties:
chat_id- Unique chat identifieractor-userorassistantchat_type- Type of chat interactiontenant_id- Your tenant identifiertimestamp- Event timestamp
Walkthrough Progress Events
Triggered when users progress through AI-guided walkthroughs.
| Event | Description |
|---|---|
walkthrough-progress | User completed a walkthrough step |
Properties:
walkthrough_job_to_be_done- The Job the user is working towardstep_index- Current step numberstep_title- Step descriptiontenant_id- Your tenant identifiertimestamp- Event timestamp
Data Residency
For analytics integrations, you can choose data residency:
| Region | Description |
|---|---|
| US | Data stored in United States |
| EU | Data stored in European Union |
Select the region that matches your compliance requirements.
Use Cases
Track Conversation Metrics
Send chat events to your analytics platform to:
- Measure AI assistant usage
- Track conversation volume over time
- Segment users by chat engagement
Measure Job Completion
Use walkthrough-progress events to:
- Track completion rates for Jobs
- Identify drop-off points
- Measure time-to-completion
Alert on Important Events
Use Slack or webhooks to:
- Get notified when users need support
- Alert on high-volume chat periods
- Monitor for specific user behaviors
Sync with CRM
Use HubSpot integration to:
- Add conversation history to contact records
- Track customer engagement scores
- Trigger workflows based on chat activity
Testing Integrations
After enabling an integration:
- Open your application with the Deway SDK installed
- Start a conversation with the AI assistant
- Check your integration platform for incoming events
- Verify event properties match expected values
Troubleshooting
Events Not Appearing
- Verify credentials are correct
- Check the integration is enabled
- Ensure users are identified (
Deway.identify()) - Wait a few minutes (some platforms have delays)
Wrong Data Location
- Check the region setting matches your platform configuration
- Some platforms require data residency to be set at project creation
- Contact the platform support if events go to wrong region
Missing Properties
- Ensure the SDK is properly initialized
- Verify users are identified before starting conversations
- Check for JavaScript errors in browser console