File: using-vexo.md | Updated: 11/15/2025
Hide navigation
Search
Ctrl K
Home Guides EAS Reference Learn
Archive Expo Snack Discord and Forums Newsletter
Copy page
A guide on installing and configuring Vexo for real-time user analytics.
Copy page
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
yarn
Terminal
Copy
- npm install vexo-analytics
Terminal
Copy
- 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):
app/_layout.tsx
Copy
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 .