Edit this page
A guide on installing and configuring Vexo for real-time user analytics.
Vexo provides real-time user analytics for your Expo application, helping you understand how users interact with your app, identify friction points, and improve engagement.
With a two-line integration, Vexo starts collecting data automatically, giving you actionable insights to optimize your app's user experience. If needed, you can also create custom events.
Create an account: Sign up for a Vexo account.
Create a new app: You'll be prompted to create a new app. Give it a name (you can change it later), and once you submit it, you'll receive an API key.
Install the Vexo package: Run the following command in your project:
-
npm install vexo-analytics
-
yarn add vexo-analytics
Initialize Vexo: Add the following code in your app's entry file (for example, index.js, App.js, or app/_layout.tsx if using Expo Router):
import { vexo } from 'vexo-analytics';
// You may want to wrap this with `if (!__DEV__) { ... }` to only run Vexo in production.
vexo('YOUR_API_KEY');
Rebuild and run your app: Since vexo-analytics
includes native code, you need to rebuild your application.
Verify integration: Go to your app's page on Vexo and you should see your first event!
To learn more about using Vexo with Expo, check out the Vexo documentation.