Engineering & SDK deep-dives
How Pug is built: the SDKs, event delivery, and the design decisions behind them. For concept guides and benchmarks, see Learn.
Inside the Pug Web SDK
Autocapture, identity, consent and delivery in the browser SDK, with links to its source.
ReadHow we deliver events reliably
Batches of 10 or every 5 seconds, a keepalive fetch on page hide, and which failures get retried.
ReadWell-known events: why standard names matter
How standard, typed event names keep your data clean, portable, and useful.
ReadProduct analytics for developers
Seven SDKs, Web autocapture, one identify() call, a typed API, and a server you can run yourself.
ReadCookieless identity, built on a self-deleting salt
The HMAC construction, why deletion beats rotation, and the type that caught a silent bug.
ReadServer-side event tracking in Ruby and Rails
A track call that never raises or waits on the network, well-known events checked in-process, and batching that survives a fork.
ReadTracking AI crawlers from your own server
One report per crawler request, an IP check against each operator’s ranges, and what a browser SDK can’t see.
ReadSend your first event.
Create a project, add the snippet, and watch the Live view fill up. Or open the demo first: the real dashboard on a sample pet shop, with no sign-up.
Questions? Email hello@pug.sh