> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/googleanalytics/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server. # Google Analytics Supports: * ✅ Bulk sync source * ✅ Connection Proxy ## Connection ### Configuration
NameTypeDescriptionRequired
auth_method string Authentication method

Accepted values: `oauth`, `jwt` ↓
required
auto_add_properties boolean Automatically add new properties optional
client_id string optional
client_secret string optional
custom_reports string Custom reports

One report per line. Format is a report name followed by a comma-separated list of fields. e.g. newUsersByDay:date
optional
oauth_refresh_token string optional
properties array Properties optional
Read-only propertyTypeDescription
user_email string Connected user's email
#### `auth_method` When `auth_method` is `jwt`:
NameTypeDescriptionRequired
service_account string Service account key required
```json { "name": "Google Analytics connection", "type": "googleanalytics", "configuration": { "auth_method": "jwt", "auto_add_properties": false, "client_id": "eb669428-1854-4cb1-a560-403e05b8acbf", "client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "custom_reports": "", "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "properties": [ { "label": "", "value": "" } ], "service_account": "" } } ``` #### Example ```json { "name": "Google Analytics connection", "type": "googleanalytics", "configuration": { "auth_method": "oauth", "auto_add_properties": false, "client_id": "eb669428-1854-4cb1-a560-403e05b8acbf", "client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "custom_reports": "", "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "properties": [ { "label": "", "value": "" } ] } } ``` ## Bulk Sync ### Source Google Analytics connections may be used as a bulk sync source. No additional configuration options are required.