Google analytics#
Google Analytics data integration for fetching properties and syncing metrics.
Provider required
All hooks require a
BrandwaveProvider ancestor in your component tree. See the React Hooks overview for setup instructions.useListGoogleAnalyticsProperties#
List available Google Analytics properties for the connected account.
Owner only
typescript
import { useListGoogleAnalyticsProperties } from '@brandwave/react';
const { data, isLoading } = useListGoogleAnalyticsProperties({
organizationId: 'org_123',
});Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
| organizationId | string (UUID) | Required | Organization identifier. |
Response#
Returns { data } with the result.
Underlying SDK method: bw.google.listProperties(params)