TRIFFT + Klaviyo Data Overview
Intermediate
Technical Setup
Platform Admin
Events sent to Klaviyo
Metric Name | Sample Payload | Note |
---|---|---|
Member verified | `{ "id": "bf428af0-bf06-4bc4-a91b-91b5bda6e211" } | TRIFFT member UUID is passed on |
Coupon assigned | { "id": "fa89ef32-1420-4fcd-b23a-e9478706dba9", "name": "Welcome! ", "coupon": { "id": "fa89ef32-1420-4fcd-b23a-e9478706dba9", "name": "Welcome to Club Frog! ", "description": "Bienvenue au Club.", "image_logo": "https://cdn.trifft.io/files/abc.png", "image_card": "https://cdn.trifft.io/files/def.png", "type": "GENERAL", "points": null, "is_enabled": true, "is_pinned": true, "created_at": 1723125758, "updated_at": 1744814400 } } | When coupon is assigned to member (typically via API or contest). Full coupon info is bundled. |
Coupon activated | { "id": "fa89ef32-1420-4fcd-b23a-e9478706dba9", "name": "Welcome! ", "coupon": { "id": "fa89ef32-1420-4fcd-b23a-e9478706dba9", "name": "Welcome to Club Frog! ", "description": "Bienvenue au Club.", "image_logo": "https://cdn.trifft.io/files/abc.png", "image_card": "https://cdn.trifft.io/files/def.png", "type": "GENERAL", "points": null, "is_enabled": true, "is_pinned": true, "created_at": 1723125758, "updated_at": 1744814400 } } | When member activates coupon. Full coupon info is bundled. |
Coupon redeemed | { "event": "onUserRedeemedCoupon", "timestamp": "2025-05-12T12:34:56Z" } | ✓ Mapped |
Transaction created | { "id": "fc55bed2-471c-42a4-807d-994664439d1e", "transaction_id": "T-1137073931", "type": "standard", "note": null, "items": [ { "name": "PINT - PARADISE IPA", "type": "S", "price": 5.5, "qty": 1, "sku": "1002722495", "points": null, "note": null } ], "venue": { "id": "06d27d15-7867-4412-8a81-aaf9b23af497", "name": "The Frog & Rosbif, Toulouse", "logo": "https://cdn.trifft.io/files/abc.png", "currency": "EUR", "verify_code": null, "address": { "id": "1ef4d7ca-1cf8-6634-a567-c9fe5c38cade", "street": "Toulouse 14 rue de l'Industrie ", "city": "TOULOUSE ", "postal_code": "31000", "country": "France", "lat": "43.60502235", "lng": "1.45124591" }, "is_enabled": true, "created_at": 1722238315, "updated_at": 1724947007 }, "venue_id": "06d27d15-7867-4412-8a81-aaf9b23af497", "venue_name": "The Frog & Rosbif, Toulouse", "$value_currency": "EUR", "$value": 5.5 } | Full item details and venue detail is provided |
— | { "event": "onUserWasAnonymized", "timestamp": "2025-05-12T12:34:56Z" } | Not mapped to metric name |
Wallet credited | { "wallet_id": "a79c2086-b157-431a-9bb0-d40884e3994b", "points": 12.23, "note": null, "transaction_id": "0eea095a-f7e3-4dd4-a469-b460173ff4f6", "wallet": { "id": "a79c2086-b157-431a-9bb0-d40884e3994b", "name": "Points", "is_primary": true, "type": "POINTS", "currency": "POINTS", "suffix": "p", "prefix": null, "points": 261779, "created_at": 1738147448, "updated_at": 1746713670 }, "$value": 12.23 } | All wallet details are bundled. Note can be instrumental in understanding the sources of wallet balance change. |
Wallet debited | { "wallet_id": "a79c2086-b157-431a-9bb0-d40884e3994b", "points": 12.23, "note": null, "wallet": { "id": "a79c2086-b157-431a-9bb0-d40884e3994b", "name": "Points", "is_primary": true, "type": "POINTS", "currency": "POINTS", "suffix": "p", "prefix": null, "points": 260556, "created_at": 1738147448, "updated_at": 1746717142 } } | All wallet details are bundled. Note can be instrumental in understanding the sources of wallet balance change. |
Profile updated | { "dateOfBirth": "1997-06-14", "first_name": "Jane", "language": "fr", "last_name": "Doe", "klaviyoID": "01JV2WKTRC6ASGAHX559J2T8AR" } | All project-specific custom parameters are always passed on. Triggered also when member signs/revokes consent |
App opened | { "app_version": "2.1.5", "app_platform": "ios", "timestamp": 1747075048 } | |
Favorite venue changed | { "id": "972d344b-fd01-4461-8a75-09ccf6049445", "name": "The Frog & Underground", "venue": { "id": "972d344b-fd01-4461-8a75-09ccf6049445", "name": "The Frog & Underground", "logo": "https://cdn.trifft.io/files/66ababa3890ce605287920.png", "currency": "EUR", "verify_code": null, "address": { "id": "1ef4d81b-35c6-6af2-952f-29eb98eeb785", "street": "The Frog & Underground 176 rue Montmartre ", "city": "PARIS", "postal_code": "75002", "country": "France", "lat": "48.87115850", "lng": "2.34315221" }, "is_enabled": true, "created_at": 1722240492, "updated_at": 1731945323 } } | Full venue info is bundled |
Added to segment | { "id": "63a6862c-3075-4364-8bc2-254b24b3321f", "name": "Students", "slug": "custom-students", "type": "CUSTOM" } | System segments like "All members" are ignored |
Removed from segment | { "id": "63a6862c-3075-4364-8bc2-254b24b3321f", "name": "Students", "slug": "custom-students", "type": "CUSTOM" } | System segments like "All members" are ignored |
Language changed | { "language": "en" } | When member changes language (typically in mobile app) |
Referral code provided | { "event": "onMemberReferralInvitationSent", "timestamp": "2025-05-12T12:34:56Z" } | Not mapped |
Referral code invited | Not mapped | |
— | { "event": "onReferrerRewardWasAwarded", "timestamp": "2025-05-12T12:34:56Z" } | Not mapped |
Attributes sent to Klaviyo
Attribute Name | Example Value | Note |
---|---|---|
language | fr | User's preferred language |
Last_Visit_Timestamp_Local | 2025-05-12T15:42:17+02:00 | Local timestamp of last visit |
Last_Visit_Timestamp_UTC | 2025-05-12T13:42:17+00:00 | UTC timestamp of last visit |
loyalty_points | 0 | Current points balance |
trifft_available_coupons | 6 | Number of active coupons |
trifft_coupons | JSON array (coupon IDs, names, logos, validity periods) | Full list of coupons |
trifft_fav_location_id | fae2fb65-5211-4ffa-b3bb-d53d75231657 | ID of favorite venue |
trifft_fav_location_name | The Frog & British Library | Name of favorite venue |
trifft_id | 15ab74f3-d9ba-41cf-8963-344e99381235 | Internal user ID |
trifft_points | 0 | Duplicate of loyalty_points |
trifft_primary_card_id | 9990000412006 | Primary card ID |
trifft_segments | ["internal-registered-members", "custom-public-football-3691", ...] | Segment membership list |
trifft_support_id | 74YFVF | Customer support ID (possibly for reference) |
Updated about 16 hours ago