provider marketing_analytics GET /api/projects/{project_id}/marketing_analytics/utm_audit/
@utdk/posthog /api/projects/{project_id}/marketing_analytics/utm_audit/
Run UTM audit
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.
date_from query
Start date for the audit period
string
date_to query
End date for the audit period
stringnull
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
marketingAnalyticsUtmAuditRetrieve
GET/api/projects/{project_id}/marketing_analytics/utm_audit/
Cross-reference campaigns with spend from ad platforms against pageview events with UTM parameters to identify tracking issues.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Start date for the audit period

End date for the audit period

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.marketingAnalyticsUtmAuditRetrieve({
  "date_from": "-30d"
})