Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mixpanel: What's the difference bewteen identify() and people.identify()?

Tags:

mixpanel

Mixpanel documentation lists two Javascript API's: Integration API and People Analytics. Both have an identify() method to identify users:

mixpanel.idenfity(...)
mixpanel.people.identify(...)

How are they different?

like image 706
Wolfram Arnold Avatar asked Oct 03 '12 22:10

Wolfram Arnold


People also ask

How does Mixpanel identify users?

Mixpanel handles user identification through a property called distinct_id. Mixpanel sends a distinct_id with every event that you want to tie to a user.

What is Mixpanel integration?

Mixpanel is a product analytics tool that enables you to capture data on how users interact with your digital product. Mixpanel then lets you analyze this product data with simple, interactive reports that let you query and visualize the data with just a few clicks.


1 Answers

This is a late answer, I know, but I've been coming across the same issue as well.

From what I can tell:

1) mixpanel.people.identify creates a new user in mixpanels dashboard (under explore) everytime it is called, even if that particular user already exists, and just overwrites their activity

2) mixpanel.identify does more of a find, and works as expected for their activity, but doesn't create a new user if it's never seen that distinct id before.

Needless to say, these two calls should do the same thing, with some kind of find_or_create on the backend, but it seems to be either a find or create, depending on which you are using.

like image 141
goddamnyouryan Avatar answered Sep 21 '22 09:09

goddamnyouryan