Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mixpanel People Analytics User Profile Avatar

I've searched trough the API documentation but I cant find a property to set the User Profile avatar/thumbnail when using People Analytics. Is it possible?

I am using Facebook Graph API to get it and i wanted to save it to the user profile in mixpanel. But I am missing the "avatar".

  FB.api("/me/picture",function (response) {
    console.log('Avatar URL: ' + response.data.url);
    mixpanel.people.set({
      "avatar": response.data.url
    });
  }); 

Cheers

EDIT: Well, I've contacted Mixpanel support and they answered me the following:

"Currently, Mixpanel automatically pulls in users' profile pictures if the user's email is associated with a Gravatar global avatar account. There isn't a way to manually control this for the time being, so any users who don't have Gravatar profiles will unfortunately not have profile pictures."

That means, it is not possible to do it as we speak. I contacted them a little further and apparently, they already have that feature in mind for the near future.

like image 316
Joel Azevedo Avatar asked Mar 05 '15 10:03

Joel Azevedo


People also ask

How do I add a profile to mixpanel?

The normal flow for new users is that I call alias followed by mixpanel. people. set() on sign up to create user profiles. On Login I would only call identify() to link events to an already existing profile.

What is unified user profile?

Unified user profiling is a process of users having similar behaviour on the website of a brand are grouped together to obtain categories of users so that product can be marketed to them as per their preferences. User profiling can be defined as the process of identifying the data about a user interest domain.

What is a mixpanel user?

A user is an individual that interacts with your product. In Mixpanel, each data point in your project is connected to a single user.

What is mixpanel super property?

Super Properties are a type of Event Property that you can register once to automatically attach to every Event you're tracking. They are Event Properties that apply to all Events without having to manually include them in each mixpanel.


1 Answers

Mixpanel automatically pulls user's avatars from this website: https://en.gravatar.com/

If a user has a Gravatar it will pull it into their profile, if they don't, the picture is left blank.

Here is a browser plug-in that pulls avatars from a URL that isn't Gravatar to modify the Mixpanel UI. In order to use it, you need to store the user's pictures online somewhere else.

Here's the actual link to his javascript plugin: https://gist.github.com/enoex/af39b59b2e6b8255bde2

like image 145
Sidhartha Meka Avatar answered Sep 17 '22 13:09

Sidhartha Meka