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: { metadata: {
source: 'app',
base: { base: {
deviceId: getDeviceId() ?? 'unknown', deviceId: getDeviceId() ?? 'unknown',
sessionId: getInitialSessionId(), sessionId: getInitialSessionId(),
+1
View File
@@ -34,6 +34,7 @@ export type MergeableMetadata = {
} }
export type Metadata = { export type Metadata = {
source: 'app'
base: BaseMetadata base: BaseMetadata
geolocation: GeolocationMetadata geolocation: GeolocationMetadata
} & MergeableMetadata } & MergeableMetadata