Search docs
Find a page, section or endpoint

Get started

Concepts

How data flows through BreezeIQ, and the handful of terms every other page uses.

Data flows one way, from your systems into profiles. You never write profiles directly: you send events, and BreezeIQ derives everything else from them.

Components#

From left to right, the systems an event passes through:

ComponentRole
Your systemsWebsite, app, order service, checkout
Events collectorHTTPS endpoint that accepts events (browser or server)
BreezeIQ Resolves identity, folds metrics, evaluates segments
ProfilesMetricsSegments
Control-plane APIOut: profiles, lookups, segment members
WebhooksOut: segment entered / exited

Data flow#

  1. Event in. You send events (purchase, addshippinginfo, …) carrying the customer's identifiers (email, phone, cookie, device id) and properties (amount, product id, …).
  2. Identity. BreezeIQ finds the profile those identifiers belong to, creates a new one, or merges two profiles when an event proves they are the same person.
  3. Metrics. Each event updates the metrics defined for it: totals, counts, last-seen times, latest values, recent-item lists.
  4. Segments. When a customer's metrics change, every segment that uses those metrics is re-checked. Entries and exits are recorded and sent as webhooks.
  5. Read. Your apps query profiles and memberships through the control-plane API at any time.

Glossary#

TermMeaning
TenantOwns configuration, such as event types and metric definitions, and its workspaces. For example breeze.
WorkspaceOne store or brand in a tenant, with its own profiles, segments and members. Tenant-wide event types and metrics apply to it automatically.
Workspace aliasAnother name events may use for a workspace, such as a shop domain. Events sent with the alias are stored under the workspace.
EventOne JSON object describing one thing that happened. Browser and server events use the same format.
Event typeA registered, lowercase event name, such as purchase. Registration also decides how events of that type are deduplicated.
IdentifierA value that says who an event is about. Strong identifiers (email, phone) name a person; weak ones (cookie, device_id) name a device, which may be shared.
ProfileOne person in one workspace, plus every identifier seen for them. A customer has an email or phone; a visitor only has cookies or device ids.
Metric definitionAlso called a claim: "metric M is fed by event E, reading the value at path P". One metric can have a claim per event.
MetricA value kept per customer and updated by events, such as total_spend or last_order_at.
SegmentA rule over metrics; each customer is either in or out. A temporal segment uses within_days / beyond_days, is re-checked periodically, and is marked "is_temporal": true.
Membership and transitionsMembership is one customer's in/out status in a segment. A transition is a change: entered or exited, with an origin (live-eval, backfill or merge-remap) saying why.
WebhookA POST to your endpoint when a customer enters or leaves a segment.
Events collectorThe HTTPS service that accepts events, from the browser or your servers.
Control planeThe API for configuration (event types, metrics, segments) and reads (profiles, members).
Tenant tokencpt_.... Can do everything in the tenant. Issued by the BreezeIQ team.
Workspace tokencpw_.... Read-only access to one workspace. Minted with a tenant token.

Next#