GeoTrigger SDK
v2.4.1Active
Location-based triggers SDK with geofencing and proximity detection for omnichannel experiences
0Active Triggers
124msAvg Response
99.8%Uptime
Quick Start Guide
Get started with the GeoTrigger SDK in minutes
Package Manager:
1
Installation
Option A: Modular (Recommended)
npm install oxinionOption B: Unified SDK
npm install oxinion2
Initialize Client
With Modular Import
import { createOxinion } from 'oxinion';
const oxinion = createOxinion({
apiKey: 'your-api-key',
teamId: 'your-team-id'
});With Unified SDK
import { createOxinion } from 'oxinion';
const oxinion = createOxinion({
apiKey: 'your-api-key',
projectId: 'your-project-id'
});
oxinion.geofencing.onEnter({...});3
Create Your First Geotrigger
const newTrigger = await oxinion.geofencing.upsert({
name: 'Store Location',
latitude: 37.7749,
longitude: -122.4194,
radius: 500,
trigger_type: 'enter'
});
console.log('Created trigger:', newTrigger.id);Recent GeoTriggers
Current geotriggers from your workspace (0 total)
No geotriggers found
Create your first geotrigger to see live data here
SDK Response
Live API response for selected geotrigger
Select a geotrigger to view SDK response
Total Geotriggers
0
Active
0
Inactive
0
Triggers Today
2.3k