Beta.Analytics - TypeScript SDK
Beta.Analytics - TypeScript SDK
Beta.Analytics method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Overview
beta.Analytics endpoints
Available Operations
- getAnalyticsMeta - Get available analytics metrics and dimensions
- queryAnalytics - Query analytics data
getAnalyticsMeta
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Management key required.
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.GetAnalyticsMetaResponse>
Errors
queryAnalytics
Execute an analytics query with specified metrics, dimensions, filters, and time range. Management key required.
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<operations.QueryAnalyticsResponse>