Add source

This commit is contained in:
Eric Bailey
2026-02-11 13:05:10 -06:00
parent 6684dc70cb
commit ff4512bede
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -94,6 +94,7 @@ const Context = createContext<AnalyticsBaseContextType>({
})
},
metadata: {
source: 'app',
base: {
deviceId: getDeviceId() ?? 'unknown',
sessionId: getInitialSessionId(),
+1
View File
@@ -34,6 +34,7 @@ export type MergeableMetadata = {
}
export type Metadata = {
source: 'app'
base: BaseMetadata
geolocation: GeolocationMetadata
} & MergeableMetadata