Sharing or embedding insights

Last updated:

|Edit this page

You can share a public link to a specific insight or embed an insight in a web page or application (where the insight will be displayed in an iframe).

  1. Choose Share or embed from the ... (more options) menu.

    Sharing an insight via the PostHog app

  2. Toggle ON the option to share the insight publicly.

    Share PostHog insight publicly

  3. Click Copy public link to copy the link to your clipboard. This insight won't require authentication to view.

    Sharing an insight via the PostHog app

Embed an insight

In the same panel as above, copy the HTML code to embed the insight on a webpage.

Refreshing

If your insight needs to be refreshed frequently, add ?refresh=true to the end of the insight ID in the iframe code. Example:

<iframe width="100%" height="400" frameborder="0" allowfullscreen src="https://us.posthog.com/embedded/123456?refresh=true"></iframe>

API

You can also embed an insight using the insights API.

Questions?

Was this page useful?

Next article

Data management

You can manage all your PostHog data on the Data and People pages. Events The Events tab contains a list of all the events captured into your PostHog instance. They are sortable by name, last seen, and type (custom vs default). Each event also contains the top custom properties for that event including their type, tags, and an example. Event details Clicking on an event from this list shows more details about it, such as: An editable description The raw event name First and last seen dates…

Read next article