diff --git a/site/source/components/Feedback/FeedbackForm.tsx b/site/source/components/Feedback/FeedbackForm.tsx index aa47ba41a..5a2b40bcb 100644 --- a/site/source/components/Feedback/FeedbackForm.tsx +++ b/site/source/components/Feedback/FeedbackForm.tsx @@ -103,9 +103,7 @@ export default function FeedbackForm({ additionalData?: string }) { const url = useUrl() - const urlParams = Array.from(new URL(url).searchParams.entries()).filter( - ([key]) => key !== 'utm_source' - ) + const urlParams = Array.from(new URL(url).searchParams.entries()) const [share, setShare] = useState(false) const [requestStatusCode, setRequestStatusCode] = useState( null diff --git a/site/source/components/ShareSimulationBanner/index.tsx b/site/source/components/ShareSimulationBanner/index.tsx index ab6c7ec94..524c81db3 100644 --- a/site/source/components/ShareSimulationBanner/index.tsx +++ b/site/source/components/ShareSimulationBanner/index.tsx @@ -37,8 +37,6 @@ export function useUrl() { ? import.meta.env.VITE_FR_BASE_URL : import.meta.env.VITE_EN_BASE_URL - searchParams.set('utm_source', 'sharing') - return siteUrl + path + '?' + searchParams.toString() }