PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
20.74k stars 1.24k forks source link

Set profile image of the tracked persons using api #17080

Open MadhabaPatra opened 1 year ago

MadhabaPatra commented 1 year ago

By default in dashboard we can see profile image [gravatar image using person's email address] of tracked person. i have https://app.posthog.com/persons api to update user properties or add new properties of tracked person.

Can we have options to update profile image of the tracked person using api , Because i have the person's profile picture url , Don't want to see gravatar image at all.

I raised a query here . Check out

It will be great if we see our user profile picture so we can easily identify by seeing our profile data.

benjackwhite commented 1 year ago

A somewhat straightforward thing I could imagine us adding is support for choosing where we get the image from. So if you would host the image then we could support something like

posthog.identify("ben@posthog.com", {
  profile_image_url: "https://posthog.com/my_image.png"
})

As long as that resource is permitted for our domains to load then we could make that a way of choosing the image.

Would that fit what you had in mind?

MarconLP commented 2 months ago

+1 https://posthoghelp.zendesk.com/agent/tickets/15841

dukeeagle commented 2 months ago

Would love to see this get implemented