Segment
NativeConnect EmacronAI CRM to Segment and automatically distribute your CRM events to 400+ analytics and marketing tools — Google Analytics 4, Mixpanel, Amplitude, Intercom, Customer.io, and more — all from a single connection.
Why use Segment?
One connection = 400+ tools
Add GA4, Mixpanel, Amplitude, Intercom — all from one Segment workspace, no extra API keys.
Data warehouse ready
Segment can forward all events to BigQuery, Snowflake, or Redshift for custom analytics.
Real-time
Events appear in your analytics tools within seconds of happening in EmacronAI CRM.
Setup
- 1
Create a Segment source
In your Segment workspace → Sources → Add Source → search "Node.js" → give it a name like "EmacronAI CRM" → click Add Source.
Open Segment → - 2
Copy your Write Key
In the newly created source → Settings → API Keys → copy the Write Key. It looks like a random string.
AbCdEfGhIjKlMnOpQrStUvWx
- 3
Connect in EmacronAI CRM
Settings → Integrations → Segment → paste your Write Key → click Connect. Click "Send test event" to verify it appears in Segment's Event Debugger.
Open Integrations settings → - 4
Add destinations in Segment
In Segment → Destinations → Add Destination → search for GA4, Mixpanel, Amplitude, Intercom etc. → connect each one. Events from EmacronAI CRM will flow to all of them automatically.
Events sent to Segment
All events include workspace_id and timestamp automatically.
| Event name | Properties included |
|---|---|
| Lead Created | source, name, status |
| Lead Status Changed | from_status, to_status |
| Deal Created | title, value, currency |
| Deal Won | title, value, currency, closed_by |
| Deal Lost | title, value |
| Campaign Sent | channel, recipient_count |
| OTP Sent | channel, provider |
| OTP Verified | channel, provider |
| Contact Created | source |
| Booking Created | type, date |
Troubleshooting
Test event not appearing in Segment debugger
Check the Write Key is correct. Segment write keys are case-sensitive. Also check that the source is not paused in Segment → Sources → your source → Settings.
Events appearing in Segment but not in GA4/Mixpanel
You need to add GA4/Mixpanel as a Destination inside Segment. Go to Segment → Destinations → Add Destination.
How do I see which events fired?
Segment → Sources → your source → Event Debugger shows all events in real time with their properties.