A. As a user interacts with the site, a
permutive.track call is encountered and a user-event is recorded.
This event is sent to the Permutive API for processing and storage, and internally, to the segmentation engine in the SDK for decisioning and actioning.
At the Permutive API level, the event sent by the user is validated against the event schema setup by the publisher, and is rejected if it does not conform. The event is also enriched with geo information based on the IP address of the user.
The Permutive API initiates a data flow that aims to store the event for posterity and analytics, and trigger any server side integration for SegmentEntry and SegmentExit events.
At the segmentation engine in the SDK, the user-event causes an update to every segment. For every segment defined, when an event is fired, the user’s segment state is updated to either true or false, denoting the user having membership or not of the segment, respectively.