Add source
This commit is contained in:
@@ -94,6 +94,7 @@ const Context = createContext<AnalyticsBaseContextType>({
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
metadata: {
|
metadata: {
|
||||||
|
source: 'app',
|
||||||
base: {
|
base: {
|
||||||
deviceId: getDeviceId() ?? 'unknown',
|
deviceId: getDeviceId() ?? 'unknown',
|
||||||
sessionId: getInitialSessionId(),
|
sessionId: getInitialSessionId(),
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user