Install guide · framework · ~5 min
Native SDK with expo-router tracking.
For mobile apps, Admaxxer ships a lightweight native SDK that wraps AsyncStorage for device-ID, captures app lifecycle + screen transitions (via expo-router), and sends events to the same /api/event endpoint as the web pixel.
Add admaxxer-react-native to your Expo project.
npx expo install admaxxer-react-native
Call initAdmaxxerNative at app boot before any screen renders.
App.tsx tsximport { initAdmaxxerNative } from 'admaxxer-react-native';
initAdmaxxerNative({
websiteId: 'YOUR_WEBSITE_ID',
appId: 'com.yourcompany.app',
});
If you use expo-router, wrap your root layout with <AdmaxxerRouter /> to auto-capture screen transitions.
app/_layout.tsx tsximport { AdmaxxerRouter } from 'admaxxer-react-native/router';
import { Slot } from 'expo-router';
export default function Root() {
return (
<AdmaxxerRouter>
<Slot />
</AdmaxxerRouter>
);
}
Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).
app_open event should appear within a few seconds.npx expo prebuild) and network-security-config allows https to admaxxer.com.