Hi, I am sending data to Mixpanel from Rudderstack...
# support
a
Hi, I am sending data to Mixpanel from Rudderstack and I have few events in Rudderstack whose traits I want to send to Mixpanel as user properties so that they show up in user profiles in Mixpanel. Does anyone know how can I do this. Is there anything I need to do on Rudderstack side or from Mixpanel.
g
I'm not a mixpanel user but I see that they have concept of "People properties" which sets the additional context to user profile. There's a section on RudderStack guide that mentions how to set these people properties https://www.rudderstack.com/docs/destinations/streaming-destinations/mixpanel/#explicitly-setting-people-properties-and-super-properties
p
Hi @ambitious-engineer-11304, you can pass those along as identify calls with a traits object: https://www.rudderstack.com/docs/destinations/streaming-destinations/mixpanel/#identify
a
@plain-parrot-49913 Thanks, so if we want to send any traits along with events and as user properties as well to Mixpanel, so we have to implement both the event track function as well as the identity function to send those traits. Am I right here?
p
Correct and identity function will create the user in Mixpanel, then track function will associate any events to that created user.