Skip to content

Commit

Permalink
welcomeoffer campaign tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
mantikoros committed Nov 1, 2024
1 parent cd6d9b3 commit 0e46e6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/pages/welcomeoffer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Custom404 from './404'
import { ENV } from 'common/envs/constants'
import { useTracking } from 'web/hooks/use-tracking'
import { PromotionalPanel } from 'web/components/promotional-panel'
import { useSaveCampaign } from 'web/hooks/use-save-campaign'

const revalidate = 60

Expand All @@ -27,6 +28,7 @@ export async function getStaticProps() {

export default function WelcomeOffer(props: ElectionsPageProps) {
useTracking('welcome offer page view')
useSaveCampaign()

if (Object.keys(props).length === 0) {
return <Custom404 />
Expand Down

0 comments on commit 0e46e6e

Please sign in to comment.