diff --git a/package.json b/package.json index 7e47ec2a96..443202ed67 100644 --- a/package.json +++ b/package.json @@ -191,7 +191,7 @@ "@sentry/types": "^7.45.0", "@types/react-window-infinite-loader": "^1.0.6", "@uniswap/analytics": "^1.4.0", - "@uniswap/analytics-events": "^2.23.0", + "@uniswap/analytics-events": "^2.24.0", "@uniswap/governance": "^1.0.2", "@uniswap/liquidity-staker": "^1.0.2", "@uniswap/merkle-distributor": "^1.0.1", diff --git a/src/pages/App.tsx b/src/pages/App.tsx index 868421fe7a..b2f7ae5a24 100644 --- a/src/pages/App.tsx +++ b/src/pages/App.tsx @@ -141,6 +141,7 @@ export default function App() { user.set(CustomUserProperties.BROWSER, getBrowser()) user.set(CustomUserProperties.SCREEN_RESOLUTION_HEIGHT, window.screen.height) user.set(CustomUserProperties.SCREEN_RESOLUTION_WIDTH, window.screen.width) + user.set(CustomUserProperties.GIT_COMMIT_HASH, process.env.REACT_APP_GIT_COMMIT_HASH ?? 'unknown') // Service Worker analytics const isServiceWorkerInstalled = Boolean(window.navigator.serviceWorker?.controller) diff --git a/yarn.lock b/yarn.lock index 934116c209..667fcabb1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6045,10 +6045,10 @@ "@typescript-eslint/types" "5.59.1" eslint-visitor-keys "^3.3.0" -"@uniswap/analytics-events@^2.23.0": - version "2.23.0" - resolved "https://registry.yarnpkg.com/@uniswap/analytics-events/-/analytics-events-2.23.0.tgz#f1a65a9b2926700001c8512564ee5da14e0811f9" - integrity sha512-8UCAVQKSA1bKjNPZnNraYqgicQrQs1ecKfydZ7jHdhjjrLTB239MjSshHTWdnXMfqIA7y2kApKECu+3Ah9hRNg== +"@uniswap/analytics-events@^2.24.0": + version "2.24.0" + resolved "https://registry.yarnpkg.com/@uniswap/analytics-events/-/analytics-events-2.24.0.tgz#c81d0c24da4f052b7f6b2663ff42bfa787be91b5" + integrity sha512-MhX9L95Y7i28a3KxRFJnpmNxNHAgownBVPyhT+mu4PnCXiPEuSovml+uJr277tysKSqxRYqLnCeAw4LocTBIfg== "@uniswap/analytics@^1.4.0": version "1.4.0"