# Google Analytics APIs

8 endpoints on Google Analytics, all called with `POST https://api.primaryapi.com/v1/run/{sku}` and one API key.

| SKU | Name | Price | Summary |
|---|---|---|---|
| [`google-analytics.create_custom_dimension`](https://primaryapi.com/docs/api-reference/google-analytics/create_custom_dimension) | Google Analytics Create Custom Dimension | 1 credit per call | Creates a custom dimension in a Google Analytics 4 property from an event parameter, user property or item parameter (a change to the connected account). |
| [`google-analytics.create_key_event`](https://primaryapi.com/docs/api-reference/google-analytics/create_key_event) | Google Analytics Create Key Event | 1 credit per call | Marks an event as a key event (conversion) in a Google Analytics 4 property (a change to the connected account). |
| [`google-analytics.custom_dimensions`](https://primaryapi.com/docs/api-reference/google-analytics/custom_dimensions) | Google Analytics Custom Dimensions | 1 credit per call | Lists the custom dimensions of a Google Analytics 4 property with the parameter each one reads and its scope. |
| [`google-analytics.metadata`](https://primaryapi.com/docs/api-reference/google-analytics/metadata) | Google Analytics Dimensions and Metrics | 1 credit per call | Lists the dimensions and metrics a Google Analytics 4 property can report on, including its custom ones, with their API names. |
| [`google-analytics.key_events`](https://primaryapi.com/docs/api-reference/google-analytics/key_events) | Google Analytics Key Events | 1 credit per call | Lists the key events (conversions) of a Google Analytics 4 property with their counting method and default value. |
| [`google-analytics.properties`](https://primaryapi.com/docs/api-reference/google-analytics/properties) | Google Analytics Properties | 1 credit per call | Lists the Google Analytics 4 accounts and properties the connected Google account can see. |
| [`google-analytics.realtime_report`](https://primaryapi.com/docs/api-reference/google-analytics/realtime_report) | Google Analytics Realtime Report | 1 credit per call | Live Google Analytics 4 data for a property from the last 30 minutes (60 on Analytics 360): active users, events and more by dimension. |
| [`google-analytics.report`](https://primaryapi.com/docs/api-reference/google-analytics/report) | Google Analytics Report | 1 credit per call | Runs a Google Analytics 4 report for a property: any dimensions and metrics over date ranges, with filters, sorting and paging. |
