Add via Head code

Add PostHog to your podcast website

Open-source product analytics with heatmaps and replays.

The snippet

<script>
  !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=
  function(i,s,a){/* PostHog loader */});
  posthog.init('YOUR-POSTHOG-KEY',{api_host:'https://us.i.posthog.com'});
  }(document,window.posthog||[]);
</script>

Copy the full web snippet from PostHog (Project settings → Web snippet — the real loader is longer than shown), swap YOUR-POSTHOG-KEY, and paste it into the Head slot.

No coding? Ask an AI

Give me the PostHog install snippet for my website, ready to paste before the closing </head> tag, with a placeholder for my ID or account.

How to add it

  1. 1 Copy the PostHog snippet below and adjust the placeholders.
  2. 2 In your PodView Control Panel, open Advanced (Creator plan).
  3. 3 Paste it into the Head code field and turn its toggle on.
  4. 4 Save, then reload your public site to confirm it works.

Only paste snippets from accounts and vendors you control. Add one integration at a time so you can spot any that misbehaves.

Advanced Customization is a Creator feature

Add PostHog and go live in minutes once you're on Creator.

See Creator pricing

Other tools for this