How to prevent the flow of a Mixpanel funnel?

I have an application with mixpanel implementation. The funnel flow has three steps, but it does not work properly. The steps of the sequence are as follows:

  • Step 1: The user is on the landing page (registered with 'ffgg3434989787334' )
  • Step 2: The user went to the login page (registered in 'ffgg3434989787334' )
  • Step 3: The user logs in successfully and then redirects to the dashboard (registered with ' user@hotmail.com ' )

The main problem is that the events of steps 1 and 2 are logged with a separate identifier created by the browser (for example, ffgg3434989787334, this is just a random number. But the event for step 3 is fired when the user logs in and he has a separate identifier, the same as a user, so that we can see this event under this user in the mixpanel panel if the funnel stream is broken and this step 3 does not appear in the mixing panel.

Is there a way to register the first two steps for a user who logs in, so that the sequence flow is not interrupted by changing the id identifier.

I tried to achieve this with an alias and identify, but still no luck. Events differ when a user logs on. And there is also no way to register these events with a user ID, since we cannot know their ID before the user logs in.

Am I implementing the mixpanel incorrectly or is there some kind of work around this. All answers and suggestions are greatly appreciated. Thanks.

+4
source share
1 answer

Yes, this can be done using the alias mixpanel. You can link to the link: https://mixpanel.com/docs/integration-libraries/using-mixpanel-alias

, . mixpanel.alias( "john@example.com" ), .

iPhone Mobile Safari. , , distinct_id. , . mixpanel.alias() - , . , , . , - , _, . , , , Mixpanel .

mixpanel.alias() mixpanel.identify(). , , . , , , , , .

0

Source: https://habr.com/ru/post/1621563/


All Articles