Nexly

For developers

One analytics API. Every stack you ship.

Lightweight official SDKs with the same events, the same privacy guarantees, and the same dashboard on the other end. Install, add your property credentials, ship.

Script tag

Hosted snippet on cdn.nexly.to

Static sites, landing pages, and CMS templates with no npm or build step. One script tag covers pageviews, engagement, SPA navigations, and custom events.

<script defer src="https://cdn.nexly.to/js/script.js" data-app-id="…" data-key="…"></script>

Web

@nexly/web on npm

Vanilla browser apps where you control client-side JavaScript. Pageviews, engagement, outbound links, and custom events with a typed npm package.

npm install @nexly/web

React

@nexly/react-web on npm

React single-page apps. Wrap your tree in NexlyProvider, get hooks for custom events, and automatic pageviews on route changes.

npm install @nexly/react-web

Next.js

@nexly/next on npm

Next.js App Router. A provider tuned for server components and client navigation, with env-var-friendly credential handling.

npm install @nexly/next

React Native

@nexly/react-native on npm

React Native and Expo apps on iOS and Android. Screen views, engagement heartbeats, and custom events — enable the Mobile apps channel in your property's Ingest settings and events flow in.

npm install @nexly/react-native

Swift (iOS)

nexly-ios on GitHub (Swift Package Manager)

Native iOS apps in Swift, SwiftUI, or UIKit. iOS 15+, no external dependencies, with runtime-switchable privacy mode. Enable the Mobile apps channel in your property's Ingest settings, same as React Native.

.package(url: "https://github.com/Nexly-App/nexly-ios", from: "1.0.0")

Flutter

nexly on pub.dev

Flutter apps on iOS and Android. Screen views, engagement heartbeats, custom events, and runtime-switchable privacy mode. Enable the Mobile apps channel in your property's Ingest settings, same as React Native.

flutter pub add nexly

Node

@nexly/node on npm

Server-side events from Node.js, serverless functions, and CLIs. Link backend events to browser sessions, or track backend-only products — enable the Backend channel in Ingest settings.

npm install @nexly/node

Grab your credentials and go.

Create a property, copy the App ID and ingest key, and your first events show up in the realtime view.