Togo v0.3.4
Reserved properties: filter by `$os`, `$country` and more; `$email` and `$name` on profiles
- Dashboard
- API
- MCP
Breaking
- A profile write's plain
emailornamekey is now dropped, and reported asperson_property_reserved. Set them with theemailandnameparameters ofsetPersonProperties()in@togohq/sdk-browserand@togohq/sdk-node2.1.0.get_personreturns them as$emailand$name.
New
get_trendandrun_funnelfilter and break down by the properties Togo records on every event:$os,$browser,$country,$path,$utm_sourceand the rest.get_eventlists them.- A property key your app sends that starts with
$is dropped and reported asproperty_reserved, because$names are Togo's. - The Event registry lists the reserved properties beside the reserved events, and Live View marks a key dropped as reserved.
- Setting Togo up through an agent now wires
onError, andverify_trackingnames an event the SDK dropped before sending it.
Fixed
update_event_definitionsreports every problem with a definition at once, including one next to a$property.
Migration
Set email and name through the typed parameters of setPersonProperties().
setPersonProperties({ set: { email: user.email, name: user.name } });setPersonProperties({ email: user.email, name: user.name });