Events
Events captures customer activity across commerce, digital channels, and external systems, then turns it into loyalty triggers, audience conditions, challenge progress, and analytics. It is the bridge between raw behavior and campaign activation.
It covers three data types:
| Event type | What it represents | Main uses |
|---|---|---|
| Cart | Every completed purchase in-store, online, or mobile | Discounts, points campaigns, cashback, challenges, Instant Win, ROI, purchase history |
| Custom Events | Non-purchase behavior sent by an app, partner, CRM, or external platform | Trigger points, update audiences, track challenge actions, enrich the customer profile |
| Triggers | Manual or automated signals that fire loyalty mechanics outside of a cart or custom event | Award points manually, run birthday campaigns, fire rule-based actions from any configured moment |
Use Casesβ
| Use Case |
|---|
| β Trigger a points campaign whenever a customer spends over 50 EUR in a single cart. |
| β Track category-level spend for challenge progress (e.g., buy fresh produce 5 times this month). |
| β Fitness app integration: award 1 point per km run synced from a third-party tracker. |
| β Product registration: 50 points when a customer registers a purchased product in the brand portal. |
| β Referral: 300 points when a referred friend completes their first purchase. |
| β NPS survey: 20 points for submitting a post-purchase satisfaction survey. |
| β Use cart data as an audience condition to find customers who bought Product A but never Product B. |
| β App-based sport challenge: complete a running challenge in a partner app and earn 100 points. |
How It Worksβ
Events flow into Loyal Guru via the Streaming API in real time:
- Cart events arrive via
POST /cartsorPOST /carts/realtimeβ the platform evaluates active discounts, points campaigns, cashback, challenges, and Instant Win mechanics against the cart. - Custom events arrive through the custom events endpoint β matched points campaigns or challenge mechanics can fire from non-purchase behavior.
- Events are linked to the customer profile, when the customer can be identified.
- Calculated attributes aggregate historical events into reusable customer-level KPIs.
- Audiences, personalization campaigns, loyalty mechanics, and dashboards consume the same event history.
Configurationβ
| Sub-section | Description |
|---|---|
| Cart | Purchase transactions: schema, API endpoint, rule triggers |
| Custom Events | Behavioral signals: types, API endpoint, audience conditions |
| Triggers | Manual and automated trigger events: configuration, moments, and use cases |