Journeys, segments and conversion goals work with any event name you track. For commerce, use the names and properties on this page, so starter journeys, goal pickers and store integrations line up with your data. They follow the naming rules in Events.
Events
| Event | When | Properties |
|---|---|---|
Product Viewed |
A customer opens a product page | A product’s properties |
Product Added |
A product goes into the cart | A product’s properties, cart_id |
Product Removed |
A product leaves the cart | A product’s properties, cart_id |
Cart Viewed |
The customer opens the cart | cart_id, products |
Checkout Started |
The customer begins checkout | Order properties |
Checkout Step Completed |
The customer finishes a checkout step | checkout_id, step, shipping_method, payment_method |
Order Completed |
Payment succeeds | Order properties |
Ordered Product |
Recorded by Kirora with each Order Completed, one per line of products |
The line’s properties, order_id, currency |
Order Refunded |
An order is refunded, in full or in part | Order properties |
Order Cancelled |
An order is cancelled | Order properties |
GET /v1/events/standard-names lists each of these (except Ordered Product) you have
not sent or defined yet, with what it means, so pickers can offer them; once sent, a name
is in GET /v1/events/catalog with origin: "standard". Ordered Product is in the
catalogue with origin: "system".
Stopping a cart reminder when the order arrives
A cart reminder is a journey triggered by the cart event (Checkout Started, or your own
Cart Abandoned) that waits, then sends. Give the journey an exit condition on
Order Completed: a contact who orders while the journey waits leaves it, and the
reminder is never sent. The condition is set once on the journey and holds for every
order, so your store sends nothing extra when an order lands.
Product properties
On the product events, and on each line of an order’s or cart’s products.
| Property | Type | Notes |
|---|---|---|
product_id |
string | Your id for the product |
sku |
string | The stock-keeping unit |
name |
string | The product’s name |
price |
number | One unit’s price, in major units |
quantity |
number | How many |
category |
string | The product’s category: Spices |
brand |
string | The product’s brand |
variant |
string | The size, colour or other variant: 250 g |
url |
string | The product page’s address |
image_url |
string | The product image’s address |
Order properties
On Checkout Started and the order events.
| Property | Type | Notes |
|---|---|---|
order_id |
string | Your order or payment reference |
checkout_id |
string | Your id for the checkout |
cart_id |
string | Your id for the cart |
total |
number | What the customer paid: after discounts, with tax and shipping |
subtotal |
number | The products’ total, before tax, shipping and discounts |
tax |
number | Tax charged |
shipping |
number | Shipping charged |
discount |
number | The discount given, as a positive amount |
coupon |
string | The coupon code used |
currency |
string | ISO 4217, such as USD or EUR |
products |
array | One object per line, with the product properties above; up to 250 lines |
Send every amount in major units: dollars, not cents.
Checkout Step Completed adds:
| Property | Type | Notes |
|---|---|---|
step |
number | The step’s number, from 1 |
shipping_method |
string | The shipping option chosen, if this step chose one |
payment_method |
string | The payment method chosen, if this step chose one |
Ordered Product
Kirora records one Ordered Product per line of an Order Completed’s products, in the
same moment and on the same contact. Each holds that line’s properties as you sent them,
plus the order’s order_id, and its currency unless the line has its own. A retried
order (the same Idempotency-Key) records its lines once. Tracking Ordered Product
yourself is refused, so no line counts twice; send the order with its products.
They make “bought this product” or “bought from this category” an ordinary event rule:
{
"type": "event",
"name": "Ordered Product",
"within": { "value": 90, "unit": "days" },
"where": [{ "property": "category", "operator": "equals", "value": "Spices" }]
}A journey can start on one too, such as a care guide after anyone buys a given product.
What Kirora reads
Kirora stores every property as you send it. Segment rules, journey conditions and
conversion goals can filter on any property, including a nested one by its dotted path
(order.total) or an array position (items.0.price); a flat key with exactly that
name takes precedence. Templates can show any of them with
{{ event.properties.<name> }} or repeat a block over products with
{{ item.name }}, {{ item.price }} and the like inside.
Beyond rules and templates, conversion goals read two properties themselves:
- The value: a goal adds up the property it names in
valuePropertyas revenue. There is no fixed revenue property. Nametotal, so revenue is what customers paid. currency: when the goal has acurrency, an event whose owncurrencydiffers counts as a conversion but adds no revenue. Each amount stays in its own currency; beside it, reports giveconvertedRevenue, the total in the workspace currency at the latest exchange rates.
A conversion goal on Order Completed with valueProperty: "total" and
currency: "USD" reports revenue for the campaign or journey that drove the order.
A value that is negative (a refund is not revenue), larger than 999,999,999,999.99, or
not a number also adds no revenue: send a number, or a plain numeric string such as
"125.50" — not "1,250.50". The goal’s stats count every such conversion in
conversionsWithoutValue, so a gap between conversions and revenue is explained.
curl "$KIRORA_API_URL/v1/events/track" \
-H "Authorization: Bearer $KIRORA_API_KEY" \
-H "Idempotency-Key: order-10042" \
-H "Content-Type: application/json" \
-d '{
"externalId": "customer-881",
"name": "Order Completed",
"properties": {
"order_id": "10042",
"total": 125.5,
"subtotal": 110,
"tax": 10.5,
"shipping": 5,
"currency": "USD",
"products": [
{ "product_id": "8812", "name": "Smoked paprika", "price": 55, "quantity": 2 }
]
}
}'Use the order ID in the Idempotency-Key so a retried request records the order once.
Name the customer by contactId, externalId or email (exactly one). To backfill
history, POST /v1/events/batch takes up to 100 orders at once, each with its own
idempotencyKey. Give each order its real time in occurredAt, or it is recorded as
happening now. It is an ISO 8601 timestamp with Z or an offset (+01:00), at most 24
hours ahead. An event recorded more than 72 hours after its occurredAt is history: it
counts in segments, goals and RFM scores (rfmGroup), but starts no journey enrollment, so an import
does not send a review request for last year’s order.
To bring contacts already on a list or in a segment into a journey, activate it with
enrollCurrentMembers.
Refunds and cancellations
Revenue a campaign or journey reports is credited revenue: the value of the conversions its messages drove, gross, before refunds and cancellations.
Order Refundedcarries the refunded amount as a positivetotal, with itscurrencyand theorder_idit refunds. A partial refund sends only the part refunded. The performance overview (GET /v1/reports/overview) sums every refund in the window inrefunds, beside the credited revenue and not subtracted from it: a refund on an order no message drove is not email’s to lose.Order Cancelleddoes not change revenue.
Billing events
Use billing events to track subscriptions, payments and outstanding invoices. A connected payment provider records these events for you. For other billing systems, send the events from your server using the names and properties below. Browser events can be forged.
| Event | When to record it | Properties |
|---|---|---|
Payment Failed |
A payment attempt fails: an invoice, a repayment, an instalment | invoice_id (required), total (what is still owed), currency, payment_url (where the customer pays), attempt_count, next_payment_attempt (ISO 8601: when the next try is due; null when none is), billing_reason, subscription_id, customer_id, collection_method |
Payment Succeeded |
A payment goes through, including a retry after a failed one | invoice_id (required), total (the amount paid), currency, billing_reason (subscription_cycle for a renewal, subscription_create for a first payment, manual) |
Invoice Closed |
An invoice is paid, voided or marked uncollectible | invoice_id (required), reason: paid (including outside the gateway), voided or uncollectible |
Trial Started |
A trial begins | subscription_id, customer_id |
Subscription Started |
The customer starts a paid subscription | subscription_id, customer_id |
Subscription Cancelled |
A subscription ends immediately, or renewal is turned off while access continues until the period ends | subscription_id, customer_id |
Use invoice_id as your identifier for a bill, scheduled repayment or deposit. With
invoice-specific journey runs, you can track
and stop reminders for each bill separately, even when one customer has several
outstanding bills.
When a bill is settled, send Payment Succeeded or Invoice Closed with the same invoice_id.
Without a matching settlement event, its reminders continue to the end of the journey. A
bill closed with Invoice Closed ends its reminders but is not counted in a journey’s
recovery report; send Payment Succeeded when the customer paid and you want it counted.
Give each event occurrence its own Idempotency-Key and reuse it when retrying the same
event. See Idempotency for matching-request and retention rules.
A workspace can choose its own names for Payment Failed, Payment Succeeded, Trial Started,
Subscription Started and Subscription Cancelled under Settings › Workspace › Key events (see Key events). A workspace that sent Invoice Paid, this event’s name
until 19 November 2026, keeps it as its own name.
Invoice Closed keeps its standard name so settlement exits have a consistent event to
match. Kirora records a Payment Succeeded or Invoice Closed event that ends a running
reminder even after the workspace has used its monthly event allowance.
A renewal can produce three events: Order Completed records the purchase, Payment Succeeded
records the payment and Invoice Closed records that the invoice no longer needs paying.
Only the workspace’s configured purchase event contributes to purchase revenue. Keep
conversion goals scoped to the intended event to avoid counting the same payment twice.
Payment providers
Payments from a connected payment provider need no code. Once an admin or the owner connects
the provider under Integrations, each successful charge becomes an Order Completed
on the paying customer, found or created by email (without marketing consent), with
order_id set to the provider’s payment reference, total in the currency’s major unit,
and currency. The provider’s invoice and subscription updates also record the billing
events above, against the customer named on the invoice or subscription. Kirora recognises
provider retries and records each event once. Each event counts towards the monthly
allowance, subject to the settlement exception above, so a renewal can use up to three events.