
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
| Option | Description |
|---|---|
Google Analytics accountType: oauth Required: True | |
Property IDType: text Required: True | The numeric GA4 property ID, found in Google Analytics under Admin → Property settings → Property details. |
Linking Google Analytics to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Google Analytics
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import