@journium/react
v1.1.4
Published
Journium React integration - Provider, hooks, and components for React applications
Readme
@journium/react
The official Journium SDK for React. Track events, pageviews, and user interactions with built-in hooks and providers.
Getting Started
Learn how to use Journium in your React application:
Prerequisites
- React 16.8.0 or later (see React Version Compatibility)
- Node.js
>=18.17.0or later - An existing Journium application. Create your account for free.
Installation
npm install @journium/reactUsage
import { JourniumProvider } from '@journium/react';
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<JourniumProvider
config={{
publishableKey: "your-publishable-key"
}}
>
<App />
</JourniumProvider>
</React.StrictMode>
);For more detailed examples, hooks, and configuration options, visit the Journium documentation.
Other SDKs
- @journium/nextjs - Next.js SDK
- @journium/js - JavaScript SDK
- @journium/angular - Angular SDK
Support
Need help? Reach out to us:
- 📖 Join our official community Discord server
- 🐛 Issue Tracker
Contributing
We're open to all community contributions! If you'd like to contribute in any way, please read our contribution guidelines and code of conduct.
License
This project is licensed under the MIT license.
See LICENSE for more information.
