diff --git a/src/components/DownloadPopup.astro b/src/components/DownloadPopup.astro index d82fab3f3..3c15b2173 100644 --- a/src/components/DownloadPopup.astro +++ b/src/components/DownloadPopup.astro @@ -34,6 +34,7 @@ import CaptchaFields from './Captcha/CaptchaFields.astro'; type='submit' name='submit' class='text-white bg-gradient-to-r from-amber-700 to-blue-800 hover:from-amber-800 hover:to-blue-900 font-regular rounded-md text-md px-5 py-2.5 w-full text-center mr-2' + onclick="window.fireEvent({ category: 'Subscription', action: 'Submitted Popup Form', label: 'Download Roadmap Popup' })" > Send Link diff --git a/src/components/RoadmapHeader.astro b/src/components/RoadmapHeader.astro index a99767032..c102c4963 100644 --- a/src/components/RoadmapHeader.astro +++ b/src/components/RoadmapHeader.astro @@ -51,6 +51,7 @@ const isRoadmapReady = !isUpcoming; data-popup="download-popup" class="inline-flex items-center justify-center bg-yellow-400 py-1.5 px-3 text-xs sm:text-sm font-medium rounded-md hover:bg-yellow-500" aria-label="Download Roadmap" + onclick="window.fireEvent({ category: 'Subscription', action: 'Clicked Popup Opener', label: 'Download Roadmap Popup' })" > @@ -61,6 +62,7 @@ const isRoadmapReady = !isUpcoming; data-popup="subscribe-popup" class="inline-flex items-center justify-center bg-yellow-400 py-1.5 px-3 text-xs sm:text-sm font-medium rounded-md hover:bg-yellow-500" aria-label="Subscribe for Updates" + onclick="window.fireEvent({ category: 'Subscription', action: 'Clicked Popup Opener', label: 'Subscribe Roadmap Popup' })" > Subscribe diff --git a/src/components/SubscribePopup.astro b/src/components/SubscribePopup.astro index 5acd3790d..ecc331e0a 100644 --- a/src/components/SubscribePopup.astro +++ b/src/components/SubscribePopup.astro @@ -33,6 +33,7 @@ import CaptchaFields from './Captcha/CaptchaFields.astro'; type='submit' name='submit' class='text-white bg-gradient-to-r from-amber-700 to-blue-800 hover:from-amber-800 hover:to-blue-900 font-regular rounded-md text-md px-5 py-2.5 w-full text-center mr-2' + onclick="window.fireEvent({ category: 'Subscription', action: 'Submitted Popup Form', label: 'Subscribe Roadmap Popup' })" > Subscribe