Track viewing full daily movers

This commit is contained in:
James Grugett 2022-09-20 17:40:28 -05:00
parent 60c79141aa
commit 589bf9651d

View File

@ -3,6 +3,7 @@ import { Col } from 'web/components/layout/col'
import { Page } from 'web/components/page' import { Page } from 'web/components/page'
import { Title } from 'web/components/title' import { Title } from 'web/components/title'
import { useProbChangesAlgolia } from 'web/hooks/use-prob-changes' import { useProbChangesAlgolia } from 'web/hooks/use-prob-changes'
import { useTracking } from 'web/hooks/use-tracking'
import { useUser } from 'web/hooks/use-user' import { useUser } from 'web/hooks/use-user'
export default function DailyMovers() { export default function DailyMovers() {
@ -10,6 +11,8 @@ export default function DailyMovers() {
const changes = useProbChangesAlgolia(user?.id ?? '') const changes = useProbChangesAlgolia(user?.id ?? '')
useTracking('view daily movers')
return ( return (
<Page> <Page>
<Col className="pm:mx-10 gap-4 sm:px-4 sm:pb-4"> <Col className="pm:mx-10 gap-4 sm:px-4 sm:pb-4">