Hey All, I am using the ruby gem for mixpanel with...
# questions
s
Hey All, I am using the ruby gem for mixpanel with a rails 7 app. I am trying to track a user from when they join the site, to when they register using the alias method. My approach is: 1. Generate a uuid and store it in their session 2. Track using this
MIXPANEL_TRACKER.track(uuid, …)
3. When they register in device I am calling alias:
Copy code
MIXPANEL_TRACKER.alias(resource.id, session[:mixpanel_uuid])
session[:mixpanel_uuid] = resource.id
But the aliasing doesn't seem to be working sadly. Would appreciate some help 🙂