Technical documentation
Configuration
QTrack: dedicated flows in Klaviyo
QTrack feeds dedicated flows, separate from the store's native flows. Native flows stay as they are. This separation shows in Klaviyo the revenue generated by QTrack events alone.
Create the flows
| Dedicated flow | Trigger (Klaviyo metric) | Template |
|---|---|---|
| Browse recovery | TQF_Realtime_ActiveOnSite | Copy of the native browse abandonment flow |
| Cart recovery | TQF_Realtime_CartUpdate | Copy of the native abandoned cart flow |
| Checkout recovery | TQF_Realtime_CheckoutStarted | Copy of the native abandoned checkout flow |
For each flow:
- Clone the matching native flow, with its messages and delays.
- Replace its trigger with the QTrack metric from the matching row.
- Add the deduplication filter: the profile has not received the matching native flow within the chosen window. A profile already handled by a native flow does not enter the QTrack flow.
- Keep the native flow's sending filters: subscription status, exclusions, Smart Sending.
- Name the flow with the
QTrackprefix so it is easy to find in reports. - Turn the flow on.
Sending filters stay under the store's control: an unsubscribed profile receives no marketing email, whatever event brought it into the flow.
Trigger window
Klaviyo does not trigger a metric-triggered flow when the event arrives 6 hours or more after its timestamp. Every QTrack event carries the time of the visitor's action. The Quantic Factory monitors event delivery time and reports it in the monthly report.
Using events outside the dedicated flows
QTrack metrics are standard Klaviyo metrics: they also work in segments (recent visitors to a collection, open carts) and in tools connected to Klaviyo. A native flow that uses a QTrack metric as its trigger no longer shows QTrack's contribution separately.
Reading the results
| Level | What it shows | Where |
|---|---|---|
| 1. Data delivered | Recognized shoppers per day, events sent, delivery time | The Quantic Factory monthly report |
| 2. Flow results | Revenue Klaviyo attributes to the QTrack flows, under the account's attribution rule | Flow reports in Klaviyo, included in the monthly report |
| 3. Net lift | Additional orders measured with a holdout group drawn at random at QTrack flow entry | Rule and threshold agreed in writing before the start, read together |
QSide: receiving the stream
Stream format
QSide sends a single stream in the Measurement Protocol format, the same whatever the destination. Each request body takes the form {client_id, user_id, events: [{name, params}]}.
Every event carries a stable deduplication ID (params.event_id). Every order event also carries the Shopify transaction ID (params.transaction_id). Available identity data is normalized and hashed before sending.
Sending through a server-side container
- QSide sends its requests as POST JSON to the container's collection endpoint:
https://<container host>/mp/collect. - The container's Measurement Protocol client, or a client dedicated to QSide, claims the request.
- Mark QSide events (dedicated client or marker parameter) and limit the tags that fire to those agreed for this stream. Other tags carry an exception until their mapping and acceptance testing exist.
- In each destination tag, map the deduplication ID and the transaction ID to the field defined by the destination's specification.
For Meta, The Quantic Factory provides a complete specification as a reference: it shows how to map the transaction IDs in an existing Meta tag in the container. For every other destination, the technical owner applies the same logic in the matching tag.
Any tag that hasn't been approved for this stream carries an exception on QSide events (client_id = qside): without it, every QSide event creates an extra user and an extra transaction in the tool that tag feeds.
Sending directly to Meta
The Quantic Factory prepares the sending to Meta's Conversions API, its authentication and its routing. The merchant lists the other browser and server sources and notes the event ID each one uses in Test Events, including Shopify's Facebook & Instagram app. Only one QSide path is active per event and per Dataset.
Account configuration sheet
Before testing, the merchant, the agency and The Quantic Factory fill in one sheet per account. A required field left empty keeps the related event out of production.
| Field | Content |
|---|---|
| Store, domains and markets | Web and in-store scope |
| Destinations | Meta Dataset and other destinations, with the inventory of their senders |
| Owners | The Quantic Factory, server-side owner, merchant, media agency |
| Mode per event | Container or direct; one active QSide path per event and destination |
| Reception | Full collection endpoint URL, method, authentication, claiming client |
| Tags | Tag template for each destination, version, tags allowed to fire |
| Permissions | Shopify and destination permissions, consent rules |
| Media measurement | Optimization event, custom conversions, audiences |
| Operations | Acceptable delays, error recovery, monitoring, rollback |
Secrets stay in the account's access system; the sheet holds their references, never their values.
Maintenance
Notify the setup owner and The Quantic Factory before any change that affects events: new subscription app, replaced pixel or tag, theme or checkout change, new market, new destination. Replay the affected test cases and record the new version.