Clarify intent

This commit is contained in:
Eric Bailey
2026-01-21 20:41:51 -06:00
parent 5b8da00742
commit a595eb3264
2 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ import {
useSessionId,
} from '#/analytics/identifiers'
import {type Metrics, metrics} from '#/analytics/metrics'
import * as referrer from '#/analytics/misc/referrer'
import * as refParams from '#/analytics/misc/refParams'
import {type MergeableMetadata, type Metadata} from '#/analytics/types'
import * as env from '#/env'
import {useGeolocation} from '#/geolocation'
@@ -89,8 +89,8 @@ const Context = createContext<AnalyticsBaseContextType>({
appVersion: env.APP_VERSION,
bundleIdentifier: env.BUNDLE_IDENTIFIER,
bundleDate: env.BUNDLE_DATE,
referrerSrc: referrer.src,
referrerUrl: referrer.url,
referrerSrc: refParams.src,
referrerUrl: refParams.url,
},
geolocation: device.get(['mergedGeolocation']) || {
countryCode: '',
@@ -1,4 +1,8 @@
// TODO check Referrer.getReferrerInfo()
/**
* This is used for our own Bluesky post embeds, and maybe other things.
*
* In the case of our embeds, `ref_src=embed`. Not sure if `ref_url` is used.
*/
import * as env from '#/env'