Integration Packages
Add privacy-first analytics and error tracking to your applications with just a few lines of code
Infobits provides lightweight, easy-to-use packages that make adding analytics and error tracking to your applications incredibly simple. Our SDKs are designed with developer experience in mind, ensuring minimal setup time and maximum flexibility.
Whether you're building a web app with React, a Next.js site, or a mobile app with Flutter, our packages integrate seamlessly with your existing codebase without compromising on performance or privacy.
Our React package makes it simple to add Infobits to any React application, whether it's a single-page app or part of a larger system.
Add Infobits to your React project with npm or yarn:
npm install @infobits/react
# or
yarn add @infobits/react
Wrap your app with the InfobitsProvider and you're ready to go:
For optimal results, place the InfobitsProvider at the root of your application. This ensures all errors and analytics events are captured throughout your entire app.
Infobits integrates seamlessly with Next.js applications, supporting both the Pages Router and App Router architectures.
Install the Next.js package:
npm install @infobits/nextjs
# or
yarn add @infobits/nextjs
Add Infobits to your _app.js or _app.tsx file:
For Next.js 13+ with App Router, add Infobits to your root layout:
Our Flutter package brings Infobits' privacy-first analytics and error tracking to your mobile applications, with native support for both Android and iOS.
Add the Infobits package to your pubspec.yaml:
dependencies:
infobits_flutter: ^1.0.0
Initialize Infobits in your app:
For comprehensive error tracking, wrap your app with InfobitsErrorBoundary:
We're constantly expanding our framework support. Here's what's coming next:
All our packages support extensive customization to fit your specific needs.
Customize Infobits behavior with these options:
Track specific user actions and custom events:
We're committed to making your integration experience as smooth as possible. Our packages are well-documented, regularly updated, and backed by our responsive support team.
If you encounter any issues or have questions about integrating Infobits into your application, please reach out to our support team at [email protected].
Find detailed guides, API references, and examples in our documentation.
Browse Documentation