diff --git a/src/components/atoms/analytics.tsx b/src/components/atoms/analytics.tsx index 4fdbcb537..bcd7815fd 100644 --- a/src/components/atoms/analytics.tsx +++ b/src/components/atoms/analytics.tsx @@ -2,5 +2,5 @@ import { AnalyticsBrowser } from '@segment/analytics-next'; // We can export this instance to share with rest of our codebase. export const analytics = AnalyticsBrowser.load({ - writeKey: 'vkWzScRn3eSetN6cMhGhrzEuo4GaBJ0v', + writeKey: 'oTuJ7Ab15OkcWQH1nAQKcKewzi9sQL3k', }); diff --git a/src/lib/usePlaybackSession.tsx b/src/lib/usePlaybackSession.tsx index 9f06f3736..2de01d7ff 100644 --- a/src/lib/usePlaybackSession.tsx +++ b/src/lib/usePlaybackSession.tsx @@ -179,8 +179,8 @@ export default function usePlaybackSession( } function play() { - trackPlay(); afterLoad((c) => c.play()); + trackPlay(); } function setPrefersAudio(prefersAudio: boolean) {