PostHog icon
Posthog Free integration

PostHog

Track product analytics and replay real customer sessions across your store, added with a single project key.

About this plugin

PostHog connects your Orderain store to a full product analytics suite, so you can see how shoppers move from landing page to checkout. Add your project key and the PostHog snippet is added to your storefront, capturing pageviews, clicks, and conversion events automatically.

Beyond charts, session replay lets you watch recordings of real visits, so you can spot where customers hesitate or abandon their cart. Funnels help you find exactly where buyers drop off.

Key Features:

  • Automatic tracking of pageviews, product views, and checkout steps
  • Session replay to watch how shoppers actually use your store
  • Conversion funnels that show where buyers drop off
  • Cohorts and retention reports to understand repeat buyers
  • Privacy controls to mask sensitive customer input

Installation guide

Step 1: Go to posthog.com and click Get started for free to create your account.

Step 2: During signup, pick your data region: US (most common) or EU. Remember which one you chose.

Step 3: On the Install PostHog screen, click Set up manually.

Step 4: Click the Copy project token button. This copies your Project API Key (it starts with phc_). That is the only value you need from PostHog.

Step 5: In your Orderain Dashboard, go to ShopPlugins and click PostHog.

Step 6: Paste your Project API Key into the Project API Key field.

Step 7: Leave the API Host field on its default https://us.i.posthog.com. Only change it to https://eu.i.posthog.com if you chose the EU region at signup.

Step 8: Click Save.

Step 9: Open your storefront, then check your PostHog dashboard. Your visit should appear within a minute. Analytics and session replay are now live.

Configuration

Fields you'll provide when you add this plugin to your store.

Project API Key Required

e.g. phc_xxxxxxxxxxxxxxxxxxxx

Type: text

API Host Required

e.g. https://us.i.posthog.com

Type: text

More Posthog plugins

Other integrations from the Orderain library.

View all

Add PostHog to your store

Install it in a few clicks inside Orderain, no code required.

Get started free