From 8096cd24082dca9b605807510b320c466ae3b67c Mon Sep 17 00:00:00 2001 From: Eric Mc Sween <5454374+emcsween@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:16:19 -0500 Subject: [PATCH] Merge pull request #21897 from overleaf/jdt-assistant-events Ai Error assistant events GitOrigin-RevId: c70e5cecbc220fdfc63512680a76616dbd631c86 --- .../components/preview-subscription-change/root.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/frontend/js/features/subscription/components/preview-subscription-change/root.tsx b/services/web/frontend/js/features/subscription/components/preview-subscription-change/root.tsx index 7b7ae32935..e60397d60b 100644 --- a/services/web/frontend/js/features/subscription/components/preview-subscription-change/root.tsx +++ b/services/web/frontend/js/features/subscription/components/preview-subscription-change/root.tsx @@ -11,6 +11,7 @@ import { debugConsole } from '@/utils/debugging' import { postJSON } from '@/infrastructure/fetch-json' import Notification from '@/shared/components/notification' import { subscriptionUpdateUrl } from '@/features/subscription/data/subscription-url' +import * as eventTracking from '@/infrastructure/event-tracking' function PreviewSubscriptionChange() { const preview = getMeta('ol-subscriptionChangePreview') @@ -19,6 +20,7 @@ function PreviewSubscriptionChange() { const location = useLocation() const handlePayNowClick = useCallback(() => { + eventTracking.sendMB('assistant-add-on-purchase') payNowTask .runAsync(payNow(preview)) .then(() => {