Revenue, deal funnels, and multi-model attribution
valueandcurrencyare first-class columns on every event now — a real money column, not a property convention. Rollups are per-currency and never cross-summed; malformed money is dropped.@hogsend/jsauto-captures the ad click on landing (fbclid,gclidand nine more, or anyutm_*) as acampaign.arrivedtouchpoint, persisted last-touch.- New
defineFunnel— event-native deal funnels. Ordered stages advance on your own events, with money milestones:milestone: “quoted”mintsdeal.quotedandmilestone: “won”mintsdeal.sold— stable names across any ladder, once per deal. AcrmPipelinebinding composes a CRM leg; no CRM required, and one deployment runs many funnels. - New
defineConversion— declares which events count, what they’re worth (event / fixed / property), and where they dispatch, behind a forged-value guard that rejects browser-tier values by default. A zero-configrevenueconversion is auto-seeded.@hogsend/plugin-meta-capiis the first native destination — hashed identifiers, the real stored click, and a deterministicevent_idacross retries. - New
@hogsend/attributionengine. Every conversion writes a credit ledger under all eight models at fire time (first, last, last-non-direct, linear, time-decay, position-U, position-W, blended), so switching models in reporting is instant and historical — never re-derived. Studio’s Impact tab keeps three numbers separate: Attributed (fractional, sums to the real total), Influenced (reach), and Incremental (holdout-backed lift).hogsend attribution backfillrecomputes history.
Upgrade: pnpm dlx hogsend upgrade (deps + vendored skills). Additive — attribution accrues automatically once you capture arrivals and fire valued events; there is no config key to set.