'Mixpanel People Profile Avatar Image

I've searched the interwebs for a solution to this, but to no avail.

Is it possible to set our user's profile picture as the profile picture in Mixpanel's people report? I've tried calling our user picture object in the method where we declare Mixpanel user attributes, but it's not updating the photo.

Is there a best practice here?

enter image description here



Solution 1:[1]

For the profile image, they use the Gravatar based on the user's email. After countless searching I found this tweet from Mixpanel.

Solution 2:[2]

Avatar $avatar - Set this property to a url resource of a gif, jpg, jpeg, or png to update the profile picture in a profile. This property will override a profile picture pulled from Gravatar.

https://help.mixpanel.com/hc/en-us/articles/115004708186-What-is-the-difference-between-Event-Properties-Super-Properties-and-People-Properties-and-which-should-I-use-

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Vince
Solution 2 Oded Breiner