PostHog logo

Analytics integration

Connect StefanBrain to PostHog

Bring PostHog into a StefanBrain chat. Ask how your funnels convert, where your traffic comes from, and how your experiments and surveys are doing.

Sign in with OAuthWorks in every chatPer-tool permissions

What connecting PostHog unlocks

Funnels and trends by asking

Ask for the funnel from product page to checkout over the last 30 days, or a trend of any event you track, broken down by device or source.

Web traffic and UTMs

See visitors, pageviews, bounce rate, top pages, and traffic sources, and audit how well your UTM tags are set up.

Experiment results in plain words

Ask how an A/B test is doing, with each variant's results and exposure, so you know when to call it.

Surveys and saved insights

Read survey statistics, run the insights and dashboards your team already saved, and query your events with SQL.

Annotations and drafts on request

Ask StefanBrain to add an annotation for a campaign launch, or a new insight, dashboard, or survey. Each of these asks you first.

Tools your chats can call

A sample of the PostHog tools StefanBrain can use once connected. Reads and writes are classified separately, and you control both.

Query Funnel

Run a funnel over the steps you name and see where visitors drop off.

Query Web Stats

Web analytics broken down by page, source, UTM, or device.

Marketing Analytics UTM Audit

Check the quality of your UTM tagging.

Insight Query

Run a saved insight and return its results.

Experiment Results Get

An experiment's metric and exposure results.

Annotation Create

Mark a date on your charts, such as a launch. Asks first.

How to connect

1Open Connectors and choose PostHog

In StefanBrain, open Connectors, search for PostHog, and click Connect. There is no key to paste.

2Sign in to PostHog

PostHog opens its own sign-in. Choose US Cloud or EU Cloud: check whether your PostHog address starts with us. or eu. Then sign in, review the requested access, and approve it.

3Confirm the project

Chat works in the project your PostHog login opens to. Ask StefanBrain which project it sees. Switching projects from chat is not supported yet.

4Ask your first question

Try asking for your top traffic sources this week compared with last week.

Good to know

  • Reading runs without asking. Reads that list the people behind a number, such as SQL queries and survey responses, ask you first.
  • Most changes ask you first. 41 tools start switched off, such as deletes, data retention, access settings, announcements, and switching projects.
  • This card reaches PostHog Cloud, US or EU. PostHog's hosted connection does not reach a self-hosted PostHog.

Your credentials stay yours

  • We never store your passwords
  • Encrypted at rest and in transit
  • Disconnect anytime

Frequently asked questions

Do I need a PostHog API key?

No. You sign in with your PostHog login and approve access. If you would rather paste a personal API key, use the PostHog API card.

Does it cost anything on the PostHog side?

PostHog says connecting and calling its tools is free. Your usual PostHog billing still applies to the data your queries read.

Can StefanBrain change my PostHog project?

Only when you allow it. Creating an annotation, insight, dashboard, cohort, survey, or experiment asks you first. Deletes start switched off.

I have more than one project. How do I switch?

Switching projects from chat is not supported yet. Chat works in the project your PostHog login opens to. Switch to the other project in PostHog, then ask again.

How do I disconnect?

Open Connectors in StefanBrain, choose the PostHog card, and disconnect it. StefanBrain stops reaching your PostHog account right away.

More integrations

Put your PostHog data to work

Connect once and every StefanBrain surface can use it: chat, creative, copy review, and analysis.

Built for brands serious about growth.