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 8466405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:19:58+00:00 2026-06-10T15:19:58+00:00

I love graphs . I’d love to get my hands on some data and

  • 0

I love graphs.

I’d love to get my hands on some data and make it look pretty. But alas, I’m a little lost on what would be considered best practice.

I’ve selected mixpanel (only as an example) as I seems wonderfully easy to track custom events, and doesn’t have any subdomain limitation like Google Analytics.

Say I had 100-1000+ users who have an account (which is publicly facing), and I’m currently tracking the public interactions their pages get. With mixpanel, I can see the data which is lovely, and I’ve segmented it to individual accounts. So far, so good!

But then, I want to show my users this information. And here my head begins to hurt. Do I schedule a cron jobs, pulling in the data from mixpanel and writing it to their respective accounts? Or is there a better way? I’ve looked into mixpanel’s api (I’m using Ruby), but they keep telling me I should use the javascript api. But in using JS, how does one prevent others getting the data (ie. what’s stopping someone faking mixpanel api-posts in the console, or viewing my private key?).

What would you consider a practical solution in such a case?

  • 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-10T15:20:00+00:00Added an answer on June 10, 2026 at 3:20 pm

    You can achieve this by storing the user specific events of each user with a $bucket property attached which has a value unique to each user as explained in the mixpanel docs here Mixpanel docs. If you want to still use ruby to serve the events, have a look at Mixpanel’s recommended ruby client libraries
    mixpanel_client looks like the much maintained option of the 2 mentioned. If you go with that then you can serve user specific events as shown in the example below(which is also in the gem’s readme):

    data = client.request do
      # Available options
      resource  'events/properties'
      event     '["test-event"]'
      name      'hello'
      values    '["uno", "dos"]'
      timezone  '-8'
      type      'general'
      unit      'hour'
      interval   24
      limit      5
      bucket    'contents'
      from_date '2011-08-11'
      to_date   '2011-08-12'
      on        'properties["product_id"]'
      where     '1 in properties["product_id"]'
      buckets   '5'
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I love Bootstrap but one annoyance that I can't seem to get my hands
Would love some opinions on this problem I'm trying to workout. I'm trying to
I love the new fisheye plug in (http://bost.ocks.org/mike/fisheye/) but want to get it working
I love MXML but am starting to notice some of its drawbacks. The main
Love the new Implicit Data Templates, but I've just run into a problem with
I love my GUID. However, lately I have been doing some research to understand
I love paredit. But there are a couple of things I hate, and have
I love LINQ to SQL but it has been bugging me that in using
I love Ruby and its framework, but I don't think that Ruby On Rails
I love the idea of Grizzly, but I can't find any good examples to

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.