Skip to main content
Solved

How can I change the user ID in sendgrid integration

  • February 23, 2022
  • 2 replies
  • 538 views

Forum|alt.badge.img
  • New Member
  • 1 reply

From the doc https://help.amplitude.com/hc/en-us/articles/360025109592-Integrate-SendGrid-with-Amplitude, we can integrate SendGrid stat with Amplitude,

However, the user ID would be email so we won’t match the right user interaction.

 

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.

 

In the note, it says I have to attach unique_arg but I couldn’t find a way to set this up in sendgrid. Is there a more detailed tutorial on how to change the user ID?

 

Best answer by tracy.guo

Hi @yaqi ! Thanks for your question.

Since unique_arg is a value to send from SendGrid, I went ahead and checked SendGrid’s help docs for more information: https://docs.sendgrid.com/for-developers/sending-email/unique-arguments

It may help to reach out to SendGrid’s support team for more specific SendGrid expertise as well.

Hope that helps!

View original
Did this topic help you find an answer to your question?

2 replies

  • 0 replies
  • February 23, 2022

Thanks for this interesting information!


tracy.guo
Team Member
Forum|alt.badge.img+3
  • Amplitude Support
  • 39 replies
  • Answer
  • February 23, 2022

Hi @yaqi ! Thanks for your question.

Since unique_arg is a value to send from SendGrid, I went ahead and checked SendGrid’s help docs for more information: https://docs.sendgrid.com/for-developers/sending-email/unique-arguments

It may help to reach out to SendGrid’s support team for more specific SendGrid expertise as well.

Hope that helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings