Skip to content
Book a demoStart free
Connectors

PostHog connector

Set up the PostHog connector in Kaivo: authentication, configuration, the 7 BigQuery tables it syncs, and answers to common questions.

PostHog connector pricing, tier and credits on kaivo.io

Kaivo is a fully managed data platform that syncs your PostHog data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your marketing and sales data instead of moving it.

Sync your PostHog events and user data into BigQuery with Kaivo to analyse product usage and conversion alongside the rest of your data.

CategoryTech, Marketing & Sales
AuthenticationAPI key
SetupSelf-service

Getting started with the PostHog connector

Section titled “Getting started with the PostHog connector”
  1. Sign up for Kaivo and create a workspace.
  2. Connect your PostHog account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticate with your API Key.

Field Description
API Key

When you set up the connector, you provide:

Field Description
Base URL
Base PostHog URL. This will be different depending on whether you use PostHog Cloud or are self-hosting PostHog. For US Cloud users the URL is https://app.posthog.com and for EU users it is https://eu.posthog.com

| | Start Date |

Any data before this date will not be fetched.

|

Kaivo syncs 7 tables from PostHog into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

annotations (16 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id INT64
content STRING
date_marker TIMESTAMP
creation_type STRING
dashboard_item STRING
created_by__id INT64
created_by__uuid STRING
created_by__distinct_id STRING
created_by__first_name STRING
created_by__email STRING
created_at TIMESTAMP
updated_at TIMESTAMP
deleted BOOL
scope STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
cohorts (16 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id INT64
name STRING
deleted BOOL
is_calculating BOOL
created_by__id INT64
created_by__uuid STRING
created_by__distinct_id STRING
created_by__first_name STRING
created_by__email STRING
created_at TIMESTAMP
last_calculation STRING
errors_calculating INT64
count INT64
is_static BOOL
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
days STRING
action_id STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
events (8 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id STRING
distinct_id STRING
event STRING
timestamp TIMESTAMP
person__is_identified BOOL
elements_chain STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
feature_flags (13 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id INT64
name STRING
key STRING
rollout_percentage INT64
deleted BOOL
active BOOL
created_by__id INT64
created_by__distinct_id STRING
created_by__first_name STRING
created_by__email STRING
created_at TIMESTAMP
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: feature_flags__filters__properties

Section titled “Subtable: feature_flags__filters__properties”
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
insights (34 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
short_id STRING
name JSON
filters__display STRING
filters__insight STRING
filters__interval STRING
filters__date_from STRING
filters_hash STRING
order STRING
deleted BOOL
last_refresh STRING
refreshing BOOL
created_at STRING
created_by__id FLOAT64
created_by__uuid STRING
created_by__distinct_id STRING
created_by__first_name STRING
created_by__email STRING
description STRING
updated_at STRING
favorited BOOL
saved BOOL
last_modified_at STRING
last_modified_by__distinct_id STRING
last_modified_by__email STRING
last_modified_by__first_name STRING
last_modified_by__id FLOAT64
last_modified_by__uuid STRING
is_sample BOOL
effective_restriction_level FLOAT64
effective_privilege_level FLOAT64
timezone STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
action_id STRING
average_conversion_time STRING
converted_people_url STRING
count FLOAT64
custom_name STRING
name STRING
median_conversion_time STRING
order FLOAT64
type STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
persons (6 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id STRING
name STRING
created_at TIMESTAMP
uuid STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
Column Type Description
_kaivo_parent_id STRING Foreign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
value STRING
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.
projects (13 columns)
Column Type Description
_kaivo_id STRING Primary key that uniquely identifies the row. Auto-generated by Kaivo.
id FLOAT64
uuid STRING
organization STRING
api_token STRING
name STRING
completed_snippet_onboarding BOOL
ingested_event BOOL
is_demo BOOL
timezone STRING
access_control BOOL
effective_membership_level FLOAT64
_kaivo_extracted_at TIMESTAMP Timestamp that shows when the row was extracted. Auto-generated by Kaivo.

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where PostHog supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won’t get duplicate rows.

How long does the initial sync take for PostHog?

Section titled “How long does the initial sync take for PostHog?”

It depends on how much history is in your PostHog account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they’re much faster.

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don’t select are never copied to your warehouse.

What happens when PostHog’s schema changes?

Section titled “What happens when PostHog’s schema changes?”

New fields are never added automatically. You choose which fields to sync, so data you haven’t selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table’s sync mode: full-refresh tables always match what’s currently in PostHog, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Section titled “How do I handle GDPR or data deletion requests?”

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in PostHog instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the PostHog connector in Kaivo and all of its synced data is deleted with it.

Analyse events to measure activation, conversion, and retention.

Break events down by type to see which features get used and by whom.

Track active users and sessions over time to monitor engagement.

Join PostHog events with billing data in BigQuery to connect usage to revenue.

Once PostHog data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here’s how the most common destinations work with PostHog data.

Use Kaivo’s MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Microsoft’s BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

The premium analytics standard, with native BigQuery integration. Setup guide →

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Connect via Power Query’s BigQuery connector. Setup guide →

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for PostHog connector pricing and plan details.