Google Analytics

Google Analytics

Connect Google Analytics to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Connect a Google Analytics 4 property to sync daily report data (users, sessions, page views, devices, locations, traffic sources, and events). Requires a Google account with read access to the GA4 property.

Configuration

OptionDescription
Google Analytics account
Type: oauth
Required: True
Property ID
Type: text
Required: True

The numeric GA4 property ID, found in Google Analytics under Admin → Property settings → Property details.

Linking Google Analytics to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Google Analytics
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions

Questions about this page? or post a community question.