# Engineering & SDK deep-dives

The Pug engineering blog: SDK deep-dives on autocapture, identity, consent, reliable event delivery, and well-known events.

Source: https://pug.sh/blog

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](https://pug.sh/blog/web-analytics-sdk): Autocapture, identity, consent and delivery in the browser SDK, with links to its source.
- [How we deliver events reliably](https://pug.sh/blog/reliable-event-delivery): Batches of 10 or every 5 seconds, a keepalive fetch on page hide, and which failures get retried.
- [Well-known events: why standard names matter](https://pug.sh/blog/well-known-events): How standard, typed event names keep your data clean, portable, and useful.
- [Product analytics for developers](https://pug.sh/blog/product-analytics-for-developers): Seven SDKs, Web autocapture, one identify() call, a typed API, and a server you can run yourself.
- [Cookieless identity, built on a self-deleting salt](https://pug.sh/blog/cookieless-identity-daily-rotating-salt): The HMAC construction, why deletion beats rotation, and the type that caught a silent bug.
- [Server-side event tracking in Ruby and Rails](https://pug.sh/blog/ruby-event-tracking): A track call that never raises or waits on the network, well-known events checked in-process, and batching that survives a fork.
- [Tracking AI crawlers from your own server](https://pug.sh/blog/track-ai-crawlers): One report per crawler request, an IP check against each operator’s ranges, and what a browser SDK can’t see.

* [Browse the Learn library](https://pug.sh/learn)
* [See the SDKs](https://pug.sh/sdks)
