GEO

Get website sessions by UTM parameter (private beta)

Changed on

Private beta: workspaces without web analytics access get 403. Sessions and visitors per value of one UTM parameter (source, medium, campaign, term or content), counted on each session's first page, against the previous window of the same length. Returns the top 25 values. Includes completed history imports when no path is set. Term and content from visits Notra tracked itself cover at most the last 90 days. Campaign, term and content values that look like an email address, a UUID or a token are reported as :id.

get/v1/projects/{projectId}/geo/traffic/web/utm

Request

Path parameters

projectIdstring required
Example:b1f2c3d4-0000-4000-8000-000000000000

Query parameters

daysinteger

Rolling window size in days. Ignored when from/to are set.

fromstring
Example:2026-01-31
tostring
Example:2026-01-31
hoststring

Hostname to filter on, such as www.example.com. Subdomains are included. Omit for every host.

pathstring

Only count this exact page path, such as /pricing.

sites'exclude'

exclude leaves out traffic to sites hosted on Notra Sites.

dimension'source' | 'medium' | 'campaign' | 'term' | 'content' required

UTM parameter to group sessions by.

Response

UTM report fetched successfully

dimension'source' | 'medium' | 'campaign' | 'term' | 'content' required

Changes