track landing page

This commit is contained in:
mantikoros 2022-06-15 21:42:11 -05:00
parent fb10e9cddc
commit f295e0a537

View File

@ -8,10 +8,13 @@ import { ContractsGrid } from './contract/contracts-list'
import { Col } from './layout/col'
import { Row } from './layout/row'
import { withTracking } from 'web/lib/service/analytics'
import { useTracking } from 'web/hooks/use-tracking'
export function LandingPagePanel(props: { hotContracts: Contract[] }) {
const { hotContracts } = props
useTracking('view landing page')
return (
<>
<Col className="mb-6 rounded-xl sm:m-12 sm:mt-0">