Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

get_funnel_matrix

Get the funnel matrix

reads listed directly

For each of the workspace's own campaigns (or ads): ad spend, impressions, link clicks and platform-reported leads, beside the internally matched leads, qualified leads, won sales and revenue, with cost per lead, per qualified lead, per won sale and observed ROAS.

Use it to judge campaigns on lead quality and sales rather than on cheap leads. Platform-reported and internal numbers are separate and must never be added. A null cost or ratio means it cannot be worked out (zero denominator, or outcomes not available): say "not available", never zero. `coverage` is the share of leads that could be matched to a touchpoint: with low coverage the internal columns undercount. This is association, not proof of cause, and observed ROAS is revenue over spend, not profit.

Arguments

NameTypeNeededWhat it is
from string no First day, YYYY-MM-DD. Default: 30 days ago in the workspace time zone.
to string no Last day, YYYY-MM-DD. Default: today.
dimension string no Default campaign (the workspace's own campaigns; external campaigns count once mapped).One of: campaign, ad
model string no Attribution model. Default last_non_direct.One of: last_non_direct, first_touch
basis string no cohort = leads captured in the period with what happened to them since (default); event = outcomes dated in the period.One of: cohort, event

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It only reads. Calling it changes nothing.
  • It is in the list every assistant sees when it connects.

How tools behave: confirmation, review links, errors and limits

get_experiment · get_paid_draft · import_paid_results · list_ad_accounts · list_budget_requests · list_experiments · list_paid_drafts · list_paid_performance · manage_experiment · map_paid_campaign · save_budget_request · save_experiment_draft · save_paid_draft