SDKs

GetFluxly SDKs

GetFluxly has six SDKs. Pick the one that matches your runtime or framework, and combine them when your stack has both a browser layer and a server layer.

Available SDKs

PackageRuntimeInstallUse it for
@getfluxly/browserBrowser / JSnpm install @getfluxly/browserAutocapture, client events, consent
@getfluxly/reactReactnpm i @getfluxly/reactHooks, provider, SSR-safe wrappers
@getfluxly/nextNext.js App Routernpm i @getfluxly/nextClient script, server tracking, middleware
@getfluxly/nodeNode.js servernpm install @getfluxly/nodeBatched server-side events, identify, alias
getfluxlyPythonpip install getfluxlyBackend tracking from Python services
getfluxlyRuby gemgem install getfluxlyRails / Rack backend tracking

Choosing an SDK

Use @getfluxly/browser for any web page where you want autocapture and consent management with no framework dependency. Use @getfluxly/react when your app is already in React and you want hooks instead of a singleton. Use @getfluxly/next for Next.js App Router projects, it handles the client script injection, server-side tracking in route handlers, and middleware attribution in one package.

For server-side work, @getfluxly/node covers Node.js runtimes including Vercel Functions and Lambda. getfluxly (Python) and getfluxly (Ruby) cover those respective backends with the same track/identify surface.

You can combine SDKs. A common pattern is @getfluxly/next on the client plus @getfluxly/node in API routes for server-side events tied to the same anonymous or identified user.

Experimental: Ruby and Python identify() are experimental and not yet stitched end-to-end. Use track() with a custom identify event on those SDKs for now.