provider marketing_analytics GET /api/projects/{project_id}/marketing_analytics/suggest_conversion_goals/
@utdk/posthog /api/projects/{project_id}/marketing_analytics/suggest_conversion_goals/
Suggest conversion goals
Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.
min_count query
Minimum 30d event count to be a candidate
integer
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
top_n query
Max candidates to return
integer

Try it

Authentication
Configure credentials for PostHog API
marketingAnalyticsSuggestConversionGoalsRetrieve
GET/api/projects/{project_id}/marketing_analytics/suggest_conversion_goals/
Rank existing custom events as conversion-goal candidates by volume, UTM-tag coverage, and unique users, excluding system/autocaptured events. Read-only.

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/.

Minimum 30d event count to be a candidate

Max candidates to return

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.marketingAnalyticsSuggestConversionGoalsRetrieve({
  "min_count": 50,
  "top_n": 10
})