provider marketing_analytics GET /api/environments/{environment_id}/marketing_analytics/suggest_conversion_goals/
@utdk/posthog /api/environments/{environment_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.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
min_count query
Minimum 30d event count to be a candidate
integer
top_n query
Max candidates to return
integer

Try it

Authentication
Configure credentials for PostHog API
environmentsMarketingAnalyticsSuggestConversionGoalsRetrieve
GET/api/environments/{environment_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

Deprecated. Use /api/projects/{project_id}/ instead.

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