hyperlab / TiMixpanel

Mixpanel integration for Titanium Mobile
22 stars 12 forks source link

Could you please tell me what is NEW-TEST-ID #27

Closed srikpunu closed 9 years ago

srikpunu commented 9 years ago

Could you please tell me what is NEW-TEST-ID

// mixpanel.createAliasForId('NEW-TEST-ID', mixpanel.distinctId);
mixpanel.createAlias('NEW-TEST-ID');
jonatansberg commented 9 years ago

The 'NEW-TEST-ID' is whatever ID you want to assign your user. You can read more about aliasing here: https://mixpanel.com/docs/integration-libraries/using-mixpanel-alias

srikpunu commented 9 years ago

Thank you, What if I don't want to track by user ( Since I don't have login/singup option in my app ) and just want to track only screens or buttons clicks. Just want to find how many people click here and there..

tbjers commented 9 years ago

You can track by device ID or similar in that case.

On Sun, May 24, 2015, 21:17 srikpunu notifications@github.com wrote:

Thank you, What if I don't want to track by user ( Since I don't have login/singup option in my app ) and just want to track only screens or buttons clicks. Just want to find how many people click here and there..

— Reply to this email directly or view it on GitHub https://github.com/hyperlab/TiMixpanel/issues/27#issuecomment-105083754.

jonatansberg commented 9 years ago

If you only want to track user actions you don't need to call createAlias at all. Mixpanel will generate a unique id for the current installation of the app and use that id by default.