Guides
Data Layer and Page State
Understand how Fluxyn merges state across events while keeping the current event payload available.
Fluxyn follows a GTM-style model for page state.
What happens on a push
When a plain object is pushed into the data layer:
- it can update the persistent page-state snapshot
- if it includes a string
event, it can also trigger flows
Why $ and $eventData are different
$is the merged state you can keep building on$eventDatais the raw current event only
That means you can both:
- keep useful context around for later events
- still inspect the exact event that just happened
Set Properties
Use Set Properties when a flow should store values for later events.
Examples:
- current user plan
- campaign information
- selected country
What does not persist
Some control keys are intentionally kept out of future page state, such as event-control metadata.