Adrails Docs

PostHog

Connect PostHog to read daily product event counts alongside your ad spend, choose the events to track, and check permissions and data freshness.

PostHog gives Adrails your product's daily event counts and breakdowns, so a campaign can be read against what users then did in the product.

Connect

  1. In PostHog, create a personal API key with the project:read and query:read scopes, limited to one project. Adrails links to the key page for PostHog US and EU.
  2. In Adrails, open Integrations, choose PostHog, and paste the key (phx_...) in Paste the key here.

Adrails finds the project and the region from the key. Keep the key active so Adrails can refresh your data.

What Adrails reads

Daily counts of your product events, and their breakdowns. Read every 6 hours.

What it is used for

  • The agent: product performance for SaaS and app questions, next to Stripe or RevenueCat figures.

Watch for

  • The key must cover exactly one project.
  • The key only reads. Adrails never changes anything in PostHog.

On this page