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
19.4k stars 1.13k forks source link

Allow embedding dashboards to external websites #5711

Open sankalpdomore opened 2 years ago

sankalpdomore commented 2 years ago

Is your feature request related to a problem?

A ton of indie-makers/developers are building in public these days and they're embedding their product/site's stats publicly as well. I'd love a way to embed my PostHog dashboard or specific graphs to my own website.

Describe the solution you'd like

Some key features for this embed I'd like to see:

Few examples/inspirations:

macobo commented 2 years ago

@paolodamico would shared dashboards in iframe kind of work for this?

paolodamico commented 2 years ago

I think that could definitely work, perhaps the trickiest part would be generating an authentication mechanism that only allows you to fetch the exact data that you've been given access to (I'm envisioning something like Amazon S3 signatures). One random use case that comes to mind is embedding graphs in Medium articles which we could do by going through the certification process on https://embed.ly/providers/new

sankalpdomore commented 2 years ago

@macobo @paolodamico adding to this - I think embedding a specific graph is more important than embedding a dashboard as I might want to keep a dashboard filled with many graphs that's useful for me but won't be useful or data-sensitive to public eye.

So I think it'd be better to allow individual graphs to be embedded to a site.

posthog-bot commented 8 months ago

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

geoah commented 8 months ago

Bumping so the bot doesn't close the issue.