Analytics
Connect your tools
Marketo, SendGrid, Stripe and others send their events to a private URL: email opens, clicks, orders, mapped for you.
How it works
Most marketing and commerce tools can send a webhook when something happens. Create a source under Analytics → Sources → New source → A tool, pick the tool, and paste the private URL it gives you into the tool. Each source has a test URL (try the tool, deliveries go into test data) and a live URL (your real reports): switch between them on the source page. Each delivery is mapped to events here, so email opens and orders join the same journeys, reports and experiments as everything else.
- Send a sample on the source page posts a delivery shaped like the tool's, so you can see it work before setting up the tool.
- Recent deliveries shows what each delivery contained (emails masked) and what it became, or why parts were skipped.
- Tools retry; each event's own ID is kept, so a retry never counts twice.
- Keep the URLs private. Anyone with one can send events to the project. Roll the key on the source page to stop a URL working.
Tools with a preset
| Tool | How | What comes in |
|---|---|---|
| Marketo | A webhook called from Smart Campaigns, with a body we give you | Email sent, opened, clicked, unsubscribed, with campaign, email name and link |
| HubSpot | A workflow's Send a webhook action, with a custom body | Whatever the workflow means: form submitted, stage reached… |
| Klaviyo, Braze | A webhook step in a flow or campaign, with a body we give you | Which message each person got |
| SendGrid | Event Webhook | Sent, delivered, opened, clicked, bounced, unsubscribed, spam reports |
| Mailchimp | Audience webhooks | Subscribed, unsubscribed, cleaned |
| Customer.io | Reporting webhooks | Email sends, opens, clicks, bounces, conversions |
| Iterable | System webhooks | Email sends, opens, clicks, bounces, unsubscribes, complaints |
| Stripe | Webhook endpoint | Checkouts, paid invoices, subscriptions started or ended, with amounts |
| Shopify | Notification webhooks | Orders placed or cancelled, checkouts started, with totals |
Event names
Events have the same names whichever tool sends them, so a journey or experiment doesn't change when you change tools: email_sent, email_delivered, email_opened, email_clicked, email_bounced, email_unsubscribed, email_marked_spam, order_completed, payment_succeeded, subscription_started and subscription_canceled. Each keeps the message as properties (campaign, subject, link) and which tool sent it as tool: split a journey by campaign to see which message moved people.
Joining people across tools
Tools know people by email. Emails are lowercased and hashed (SHA-256) before anything is stored, and the person is matched by that hash. For email events to join the same person as their visits and purchases, have your app identify people with the hashed email too, as an externalId of kind email_sha256. Stripe and Shopify events without an email use the tool's customer ID.
Any other tool
Choose Your own format, paste the URL into the tool, and send a test. Its fields appear on the source page: pick the event name (or give every event one name), the person's email or user ID, the time, a unique ID, and the fields to keep. The preview shows what the latest delivery becomes before you save.
From Segment or RudderStack
If your events already flow through Segment or RudderStack, add their webhook destination pointed at the collect API with a server source's write key: they send the same track and identify messages we take.