This article will help you:
|
This integration combines Amplitude's analytics with SendGrid's email delivery into one unified system. Use this integration to send your SendGrid data to Amplitude, which will allow you to share all user data in real time, and allow non-technical product and marketing team members to synthesize your marketing and communication efforts with user behavior and product analytics.
NOTE: If you are in the European Union, be sure you are working within the eu.amplitude.com
domain, as opposed to amplitude.com
.
About SendGrid
SendGrid is a cloud-based customer communication platform that drives engagement and business growth through email delivery. Sending your SendGrid message events into Amplitude will help you properly attribute results stemming from your organization's marketing and communication efforts.
NOTE: By default, Sendgrid will send events with the email address as the user ID. If you use a different key, you'll want to attach a unique_arg to all of your email events called amp_user_id
and assign the Amplitude user ID to that value. Then Amplitude will send events using that value as the user ID.
Set up and use the integration
To set up your SendGrid integration, follow these steps:
- In SendGrid, find Settings in the left panel and click on Mail Settings.
- Select Event Webhook.
- Under HTTP Post URL, enter the following text:
https://<your-api-key>:CJdAK9fWEn4dH2UzKht37sAM@api.amplitude.com/sendgrid
(Don't forget to replace <your-api-key> with the Amplitude API Key for your project.) - Select the event data you want to send to Amplitude.
- Toggle the Event Webhook Status to Enabled. Then click Save to complete the setup.
Your selected events will now be sent to Amplitude. SendGrid event names in Amplitude will be prepended with the prefix [Sendgrid]
, and the Library will be sendgrid
.