From e90f6e463ddcdb49a420bee348d69c9a6267293c Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 10 Jul 2025 16:31:07 -0500 Subject: [PATCH] Website: Update primary buying situations set by ads (#30757) Changes: - Updated the website's custom hook to set the new primaryBuyingSituations values. --- website/api/hooks/custom/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/api/hooks/custom/index.js b/website/api/hooks/custom/index.js index 398a47d1fd..28397673fa 100644 --- a/website/api/hooks/custom/index.js +++ b/website/api/hooks/custom/index.js @@ -195,8 +195,8 @@ will be disabled and/or hidden in the UI. // (This makes the experience simpler and less confusing for people, prioritizing showing things that matter for them) // [?] https://en.wikipedia.org/wiki/UTM_parameters // e.g. - // https://fleetdm.com/device-management?utm_content=mdm - if (['clear','eo-security', 'eo-it', 'mdm', 'vm'].includes(req.param('utm_content'))) { + // https://fleetdm.com/device-management?utm_content=it-major-mdm + if (['clear', 'security-misc', 'security-vm', 'it-major-mdm', 'it-gap-filler-mdm', 'it-misc'].includes(req.param('utm_content'))) { req.session.primaryBuyingSituation = req.param('utm_content') === 'clear' ? undefined : req.param('utm_content'); // FUTURE: reimplement the following (auto-redirect without querystring to make it prettier in the URL bar), but do it in the client-side JS // using whatever that poppushstateblah thing is that makes it so you can change the URL bar from the browser-side code without screwing up