Funnels

Preview funnel metrics without creating the funnel

Changed on

Requires FunnelWrite, the same as creating a funnel: although nothing is persisted, the request carries an arbitrary caller-defined step list that is run as an ad-hoc multi-step query over the project's analytics events. The console only calls it from the create/edit funnel form, whose save already needs FunnelWrite; read-only callers use the saved-funnel GET .../funnels/{funnel_id}/metrics endpoint instead.

post/projects/{project_id}/funnels/preview

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

descriptionstring nullable
namestring required

Response

Funnel metrics preview

average_completion_time_secondsnumber double required
funnel_idinteger required
funnel_namestring required
overall_conversion_ratenumber double required
total_entriesinteger required

Changes