https://www.growthbook.io/ logo
#give-feedback
Title
# give-feedback
b

billowy-hospital-28386

03/23/2023, 5:12 PM
Are there any plans to integrate more closely with Segment (i.e. Audiences)?
👀 1
f

future-teacher-7046

03/24/2023, 2:37 PM
I think you could kind of get this to work today. Segment has an API endpoint to get all of the audiences for a user. https://segment.com/docs/engage/audiences/#access-your-audiences-using-the-profiles-api You can add an attribute in GrowthBook called
audiences
, which is an array of strings. Then, in your app, call that API endpoint and pass in the list of traits to that attribute in the GrowthBook SDK.
One thing that we'll definitely add in the future is a way to edit attributes via our REST API. That way, you'll be able to have the list of audiences sync automatically from Segment and show up in our Targeting Conditions form as a dropdown instead of a freeform text input where you have to copy/paste the audience id.
b

billowy-hospital-28386

03/24/2023, 5:15 PM
Thanks, Jeremy!
15 Views