about summary refs log tree commit diff
path: root/src/lib/statsig/statsig.tsx
Commit message (Collapse)AuthorAgeFilesLines
* Gate bitdrift integration (#7088)dan2024-12-131-3/+2
| | | | | | | | | * Move Statsig init call earlier * Gate Bitdrift init call * Remove IS_TEST env constant * Mock statsig
* [Statsig] Remove client downsampling (#6153)Hailey2024-11-151-39/+3
|
* tweak downsample rate to 1% (#5836)Hailey2024-10-181-2/+2
| | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
* [Statsig] Add more events to downsample, increase downsample rate (#5198)Hailey2024-09-071-3/+14
| | | | | | | | | * add some events for sampling * include downsample rate in metadata * fix metadata logic * uncomment debug
* Don't log extra background events (#5134)dan2024-09-041-4/+4
|
* referrers for all platforms (#4514)Hailey2024-07-111-21/+0
|
* [Statsig] Send Discover aggregate interactions (#4599)dan2024-06-221-0/+3
|
* Add `native_pwi_disabled` feature gate experiment (#4507)Eric Bailey2024-06-171-2/+8
| | | | | * Add native_pwi_disabled feature gate experiment * Use const
* Try/catch URL parsing of referrer (#4511)Samuel Newman2024-06-131-6/+13
|
* add `document.referrer` to statsig custom (#4509)Hailey2024-06-131-0/+14
| | | | | | | | | | | | | | | * add referrer to statsig custom dont include referrer if hostname is bsky.app save add `document.referrer` to statsig custom * add a hostname field * account for ssr * account for ssr
* Don't log downsample warning when unnecessary (#4291)Hailey2024-05-311-7/+10
| | | | | | | | | | | * fix log use process.env ensure the log happens regardless of `isDownsampledSession` fix log * oops, revert test
* [Statsig] Sample noisy events (#4288)dan2024-05-301-3/+17
| | | | | | | * Sample state:background and state:foreground * Sample feed events * Add DEV protection against forgetting to add events to the list
* Add `bundleDate`, `bundleIdentifier` to `StatsigUser` (#4199)Hailey2024-05-231-1/+5
| | | | | | | | | | | | | * record event for fetched ota update * Revert "record event for fetched ota update" This reverts commit 4b49efe036c0c9605eabf1d5715586d093d60e9e. * add `bundleDate` to `StatsigUser` * include `bundleIdentifier` too * move to `custom`
* [Statsig] Sample router events (#4143)dan2024-05-201-0/+6
|
* [Statsig] Fix exposure logging for reduced onboarding (#4131)dan2024-05-211-5/+14
| | | | | | | * Add dangerouslyDisableExposureLogging option * Rename onboarding gate to v2 * Disable exposure logging for onboarding in PostFeed query
* Add better onboard testing (#4007)Paul Frazee2024-05-131-0/+22
|
* [Statsig] Send locale info (#3621)dan2024-04-191-0/+6
|
* [Statsig] Slightly block the UI on gates (#3608)dan2024-04-181-0/+26
|
* [Statsig] Prefetch configs for other accounts (#3607)dan2024-04-181-21/+46
| | | | | | | | | | | | | * Poll both current and other accounts * Make createStatsigOptions a function * Pass prefetchUsers with the initial request * Add initializeCalled check * Be resilient to object identity changes * Decrease poll interval to 1 minute
* Add our own cache in front of Statsig (#3604)dan2024-04-181-32/+45
|
* [Statsig] Make gate checks lazily (#3594)dan2024-04-181-14/+18
|
* Make ref_ always strings (#3583)dan2024-04-161-6/+18
| | | | | * Make ref_ always strings * Harden types
* Always send ref_ params (#3582)dan2024-04-161-4/+4
|
* [Statsig] Send ref source (#3531)dan2024-04-131-0/+11
| | | | | | | * [Statsig] Send ref source * Add is web check * Fix types
* Use getSuggestions endpoint behind the gate (#3499)dan2024-04-121-1/+4
| | | | | | | | | * Move suggested follows out of the component * Add new suggestions implementation * Put new endpoint behind the gate * Make bottom less weird
* [Statsig] Mark Testflight as staging tier (#3470)dan2024-04-101-1/+7
|
* [Statsig] Typecheck gates (#3467)dan2024-04-101-1/+2
| | | | | | | * Typecheck gates * Lint against untyped useGate() * Alphabetic
* [Statsig] Track like/follow metadata (#3435)dan2024-04-081-0/+8
| | | | | | | | | | | * Track becoming mutuals * Track poster/liker status * Track post and followee clout * Track follower and liker clout * Extract utility
* Auto-expand follow suggestions on web (#3432)dan2024-04-081-0/+4
|
* Use logger.error instead of rethrow (#3323)dan2024-03-211-4/+2
|
* [Statsig] Protect against early logEvent call crashing (#3315)dan2024-03-211-5/+15
| | | | | * [Statsig] Check if initialized * Never interrupt the caller
* [Statsig] Onboarding and routing events (#3302)dan2024-03-211-3/+10
|
* [Statsig] Track active time (#3289)dan2024-03-191-1/+10
|
* [Statsig] Include OS and track app state changes (#3273)dan2024-03-191-1/+19
| | | | | * Include platform in identify * Track back/foregrounding
* [Statsig] Track likes, reposts, follows (#3195)dan2024-03-131-3/+5
| | | | | | | | | | | | | * [Statsig] Track likes * Move tracking to intent * Track repost/unrepost * Track profile follows/unfollows * Less copy paste * Reorder
* Send route name with Statsig events (#3194)dan2024-03-131-5/+22
| | | | | * Add types to Statsig events * Send route name with events
* Poll Statsig for config changes (#3158)dan2024-03-081-0/+12
|
* Enable gating and experimentation on native, send init event (#3149)dan2024-03-081-5/+57
| | | | | * Add the mobile fork * Add init event
* Initial feature gating and A/B testing integration (#3122)dan2024-03-061-0/+11
* Add statsig dependency * Add SDK provider * Move to separate file, add tier and hashing * Disable local storage for now * Add initial gate testing fixture * Fork for web just in case * More WIP * wip * Rm test gate * Add shim on native * Clarify