We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb5246 commit 9941585Copy full SHA for 9941585
1 file changed
src/analytics/api/events.ts
@@ -1,3 +1,4 @@
1
+import { Platform } from 'react-native';
2
import type { DetourEvent } from '../types';
3
4
const EVENT_API_URL = 'https://godetour.dev/api/analytics/event';
@@ -19,6 +20,7 @@ export const sendEvent = async (
19
20
event_name: event.eventName,
21
data: event.data,
22
timestamp: new Date().toISOString(),
23
+ platform: Platform.OS,
24
}),
25
});
26
0 commit comments