laravel-mixpanel
laravel-mixpanel copied to clipboard
Different ID for identifying users
Is it possible to use a different value for identifying users instead of the default user->id for auto events? i.e. a SHA1 of the users email address.
Sure, see issue #52
Hey @mikebronner I am not sure how the referenced issue speaks to this one. Things like your Stripe integration would automatically use the user->id for its identification in Mixpanel when sending events there. Setting the alias on the front end is a different matter I would think. In my case we identify the user in Mixpanel with a UUID. Would love to hear your thoughts on how to ensure that the backend event tracking can use that as the identifier.
Hi @stueynet, thanks for reaching out. I'm sorry I haven't been able to dedicate much time to this. I hope to look into this, considering your scenario as well, soon.
No worries at all! Thanks Mike.
I have just opened PR 81 to add this functionality