Solved

Multiple aliases for distinct_id

  • 18 February 2020
  • 2 replies
  • 114 views

Hi!

I am creating a funnel that should correlate through different applications. For the context:

user is created (app1) → assigned to project (app1) → create resources within a project (app2) → use resource (app3)

Within app1 I have a projectId, for app2 & 3 I have a resourceId. A project can have multiple resources.

My funnel should illustrate the above described path. To do so I used the alias function to map a resourceId to a projectId.

My question: if a user creates many resources, and alias is called many times: does Mixpanel persist all relationships between projectIds and resourceIds? Or is it always overrided by the latest alias call?

Thanks in advance!

icon

Best answer by raja 19 February 2020, 01:54

Based on the documentation on the alias() method, it seems the latest alias call would override the others, and it cannot maintain multiple relationships.

However, I think what you are trying to accomplish can be solved by using the ‘hold property constant’ feature of the funnel reports: https://help.mixpanel.com/hc/en-us/articles/360029190092-Conversion-Criteria-in-Funnels#hold-property-constant

View original

2 replies

Userlevel 1
Badge

Based on the documentation on the alias() method, it seems the latest alias call would override the others, and it cannot maintain multiple relationships.

However, I think what you are trying to accomplish can be solved by using the ‘hold property constant’ feature of the funnel reports: https://help.mixpanel.com/hc/en-us/articles/360029190092-Conversion-Criteria-in-Funnels#hold-property-constant

Thanks for the quick response, @raja!

Will try it out!

Reply