Integrations

Add Pug to your stack

Pug ships three SDKs: Web, Node, and Flutter. The browser frameworks all use the same framework-agnostic Web SDK. Pick yours for the exact setup.

Which SDK

Three SDKs cover every surface

A framework page tells you where to put the call. This tells you which SDK is making it: most products end up with two, a browser one and a server one, writing to the same profiles.

  • Web SDK @pug-sh/browser

    Anything that runs in a browser: Next.js, React, Vue, Svelte, or plain JavaScript. One init() call turns on six autocapture trackers, and a public key is safe to ship in client code.

  • Node SDK @pug-sh/node

    Events that must be true regardless of the browser, payments, webhooks, background jobs. Names the user explicitly, and the same private key reads profiles and insights back.

  • Flutter SDK pug_flutter

    Cross-platform apps on iOS, Android, web, and desktop. Lifecycle tracking starts at init(); a route observer adds screen views, and typed methods cover the well-known events.

Integrate in minutes

One init() call and autocapture starts. Self-host the whole stack under AGPL-3.0, or use the free cloud during open beta.

Questions? Email hello@pug.sh