Skip to main content
Solved

Segment+Amplitude:Does cloud mode support A/B testing?


Forum|alt.badge.img

Dear Amplitude team,

We send APP user data to Amplitude through Segment on Cloud Mode, and could you help me to confirm if this can support A/B testing in Amplitude?Is there any refer docs?

Thank you on advance

 

Looking forward to your reply

Kind regards

Best answer by tracy.guo

Hi @yuning.yan - my apologies! I wasn’t getting notifications for this for some reason. I usually get emails, but didn’t see anything come through.

It is certainly possible to integrate your Segment Cloud-mode data with Amplitude Experiment. The key is to ensure that The same User ID and Device ID are used between Segment and Amplitude because we bucket users based on their Amplitude ID. Device_id (Anonymous ID) is generated by Segment and stored in a Segment cookie. If the cookie is set, try retrieving ID. Else, create a new one. Here’s an example of how you can retrieve the Segment Anonymous ID: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/identity/#retrieve-the-anonymous-id

The code snippet on this page also contains an example of how to pull UserId and anonymousId if present: https://segment.com/docs/guides/how-to-guides/collect-pageviews-serverside/

If you’d like, you can also request a Demo to learn more about Amplitude Experiment: https://info.amplitude.com/experiment-demo

Apologies again for the late reply and let me know if you have any questions!

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

7 replies

tracy.guo
Team Member
Forum|alt.badge.img+3
  • Amplitude Support
  • 39 replies
  • March 8, 2022

Hi @yuning.yan - to confirm, are you referring to A/B testing via the Amplitude Experiment product, our do you have your own A/B testing built out in house that you’d like to supplement your existing data with?


Forum|alt.badge.img
  • Author
  • Helpful Hero
  • 9 replies
  • March 9, 2022

Hi @tracy.guo ,

I’m referring to A/B testing via the Amplitude Experiment product.

tracy.guo wrote:

Hi @yuning.yan - to confirm, are you referring to A/B testing via the Amplitude Experiment product, our do you have your own A/B testing built out in house that you’d like to supplement your existing data with?

 


Forum|alt.badge.img
  • Author
  • Helpful Hero
  • 9 replies
  • March 16, 2022

Hi @tracy.guo ,

could you provide me more information?


Forum|alt.badge.img
  • Author
  • Helpful Hero
  • 9 replies
  • March 18, 2022

Hi @Denis Holmes ,

Could you help me? Do you know the answer to this question? tracy.guo didn’t replied to me.


Denis Holmes
Team Member
Forum|alt.badge.img+8
  • Team Member
  • 448 replies
  • March 18, 2022

Hi @yuning.yan ,

 

Apologies, Tracy is in the U.S.A so she will be online later but I believe she is currently looking into this for you and researching into the topic and will be online later in the day. 

 

Kind Regards,
Denis


Forum|alt.badge.img
  • Author
  • Helpful Hero
  • 9 replies
  • March 22, 2022

Hi @tracy.guo ,

I have been waiting for half a month, could you give me an answer as soon as possible?

 


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

Hi @yuning.yan - my apologies! I wasn’t getting notifications for this for some reason. I usually get emails, but didn’t see anything come through.

It is certainly possible to integrate your Segment Cloud-mode data with Amplitude Experiment. The key is to ensure that The same User ID and Device ID are used between Segment and Amplitude because we bucket users based on their Amplitude ID. Device_id (Anonymous ID) is generated by Segment and stored in a Segment cookie. If the cookie is set, try retrieving ID. Else, create a new one. Here’s an example of how you can retrieve the Segment Anonymous ID: https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/identity/#retrieve-the-anonymous-id

The code snippet on this page also contains an example of how to pull UserId and anonymousId if present: https://segment.com/docs/guides/how-to-guides/collect-pageviews-serverside/

If you’d like, you can also request a Demo to learn more about Amplitude Experiment: https://info.amplitude.com/experiment-demo

Apologies again for the late reply and let me know if you have any questions!


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