Quickstart
Send your first event
Track a purchase and validate delivery in the live stream.
Once the script is loaded, tugus is globally available. pageview is sent
automatically — manual events work like this:
// Simplest possible event
tugus.track("purchase", {
order_id: "ORD-2024-001",
value: 99.8,
currency: "EUR",
user: {
email: "customer@example.com", // hashed automatically with SHA-256
phone: "+4917612345678",
},
})
// Pre-queue: works before the script has loaded
window.Tugus = window.Tugus || []
window.tugus.push(["track", "purchase", { value: 99.8 }])Tugus hashes PII (email, phone, name) automatically before forwarding. You don't have to take care of it.
Live validation
Events appear instantly in the live stream under Dashboard → Live, with per-platform delivery status:
| Event | Destination | Status |
|---|---|---|
| purchase | Meta CAPI | 200 OK · 142ms |
| purchase | GA4 | 204 OK · 89ms |
| purchase | TikTok | retry 2/3 |