From ef0b3c1b4e185adf123db62a2edc136d5325cdf8 Mon Sep 17 00:00:00 2001 From: andrepimenta Date: Sun, 12 Apr 2026 14:35:17 +0100 Subject: [PATCH] Update Umami to product.opencredits.ai and track checkout start Co-Authored-By: Claude Opus 4.6 (1M context) --- src/script.ts | 1 + src/ui.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/script.ts b/src/script.ts index 80202bf..f24d4f8 100644 --- a/src/script.ts +++ b/src/script.ts @@ -2359,6 +2359,7 @@ const getScript = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'htt // Trigger checkout flow for OpenCredits function triggerOpenCreditsCheckout(modelId) { + sendStats('Checkout started', { model: modelId }); pendingModelSelection = modelId; hideModelModal(); // Tell extension about pending model diff --git a/src/ui.ts b/src/ui.ts index bd447ce..3a1f2e1 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -1076,7 +1076,7 @@ const getHtml = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'https 2. Do I need to display a cookie notice to users? No, Umami does not use any cookies in the tracking code. --> - ${isTelemetryEnabled ? '' : ''} + ${isTelemetryEnabled ? '' : ''} `;