Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8816945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:44:09+00:00 2026-06-14T04:44:09+00:00

I don’t understand how to properly use distinct_id. I am trying to create a

  • 0

I don’t understand how to properly use distinct_id. I am trying to create a Mixpanel funnel using Rails. Currently I am doing this w/o using distinct_id and thus mixpanel trends are pretty accurate but funnel which depend upon unique user count doesn’t appear to be working. How should I use distinct_id property to solve this problem?

I’m using BOTH the Javascript library and the Ruby library.

The funnels steps are:

1.) User invited
2.) Invited user receives invitation email and clicks invitation link
3.) Page loaded
4.) Open signup module
5.) Creates account

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:44:10+00:00Added an answer on June 14, 2026 at 4:44 am

    It would probably be easiest to send data only from Ruby (by the way, which Ruby library are you using?) since the link and account creation must be sent server-side.

    You will have to choose a distinct_id that will identify a user through this entire process. The easiest way is to just use the invitee’s e-mail address. This has the additional benefit of being able to track other events and “people” data with that e-mail and associate it with the right user.

    The only tricky part is step 2. You will need to generate a link that looks like
    http://api.mixpanel.com/track/?data=...&ip=1&redirect=http://www.your-site.com/invitation
    to put inside the email as the invitation link.

    See the docs for more info about the redirect parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

don't know if this is possible.. I'm using sqlite3 schema: CREATE TABLE docs (id
Don't know why this is happening, but after submitting a form via JS (using
Don't understand this simple code: def main(): print (This program illustrates a chaotic function)
Don't understand, if Data.Map is and [] is. I found this out while wondering
Don't know if I'm over-thinking this or not.. but I'm trying to be able
Don't ask me why but i can't use this method because I need to
Don't want to sort the entries. using this does not preserve the order as
Don't quite understand why this copy constructor is not invoked when I build with
don't know if the title describes anything about what I'm trying to say but
Don't dismiss this as a newbie question! It's not, I'm not, I've tried everything,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.