From 0e46e6e9b38c38eb412e936107897c8bc47403bd Mon Sep 17 00:00:00 2001 From: mantikoros Date: Fri, 1 Nov 2024 13:21:48 -0700 Subject: [PATCH] welcomeoffer campaign tracking --- web/pages/welcomeoffer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/pages/welcomeoffer.tsx b/web/pages/welcomeoffer.tsx index 84a5f1ef92..02075fb7ad 100644 --- a/web/pages/welcomeoffer.tsx +++ b/web/pages/welcomeoffer.tsx @@ -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 @@ -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