From 94a067d7c8ef3ba68a09b4386552b9acd259111c Mon Sep 17 00:00:00 2001 From: Jimmy Domagala-Tang Date: Tue, 8 Apr 2025 13:18:21 -0400 Subject: [PATCH] Merge pull request #24208 from overleaf/jdt-wf-analytics-wrapper Create listener for Writefull to send events to our analytics GitOrigin-RevId: 8ad1866e3c81b1f6c3388b744f9e27810623436e --- .../web/frontend/js/shared/context/types/writefull-instance.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/frontend/js/shared/context/types/writefull-instance.ts b/services/web/frontend/js/shared/context/types/writefull-instance.ts index 0040422548..8dd0023f07 100644 --- a/services/web/frontend/js/shared/context/types/writefull-instance.ts +++ b/services/web/frontend/js/shared/context/types/writefull-instance.ts @@ -4,6 +4,7 @@ export interface WritefullEvents { } 'writefull-received-suggestions': { numberOfSuggestions: number } 'writefull-register-as-auto-account': { email: string } + 'writefull-shared-analytics': { eventName: string; segmentation: object } } type InsertPosition = {