samzilverberg / cordova-mixpanel-plugin

A Cordova Plugin that wraps Mixpanel's sdk
MIT License
78 stars 98 forks source link

Track not associated to ID in android #8

Closed soupman99 closed 9 years ago

soupman99 commented 9 years ago

When I create a track after I've identified someone the tracking events don't show up in the user's track history. The tracked item DOES show up in the segmentation data though. Only an issue on android, works as expected on iOS. Could this be an SDK issue?

mixpanel.people.identify(ionic.Platform.device().uuid)
mixpanel.track('Account Created', {'Account Type':'Paid'});
samzilverberg commented 9 years ago

looks to me like it should work actually.

3 things you could try so we have more knowledge about the issue:

soupman99 commented 9 years ago
mixpanel.people.identify(ionic.Platform.device().uuid)

should have been:

mixpanel.identify(ionic.Platform.device().uuid)

Been staring at the screen to long. Thanks for the reply.

samzilverberg commented 9 years ago

lol i've been staring too long as well. I somehow read it the other way around, that you were using mixpanel.identify and it was not working for you.

anyway, happy its working for you :+1: