domainAnalyticsEvent

Get channel breakdown for a specific event. Given an event name (e.g., "PageView", "Purchase"), returns counts per channel over time for that event.

Use this after domainAnalytics with type: "name" to drill down into which channels are receiving a specific event.

Parameters

Parameter
Type
Required
Description

domainId

string (UUID)

Yes

The domain ID (tagId). Get this from the domains tool.

teamId

string (UUID)

Yes

The team ID the domain belongs to.

event

string

Yes

The event name to analyze, e.g., PageView, Purchase, AddToCart.

range

number

Yes

Number of time units to look back.

rangeType

enum

Yes

Time unit: MINUTE, HOUR, or DAY.

status

number

Yes

Filter by status: 1 for successful events, 0 for errors.

timezone

string

Yes

IANA timezone, e.g., America/New_York.

Output

Returns time-series data showing event counts broken down by channel/provider for the specified event.

Example

"Which channels are receiving Purchase events this week?"

The AI assistant will call domainAnalyticsEvent with event: "Purchase" and display counts per channel.

Last updated

Was this helpful?