Update Umami to product.opencredits.ai and track checkout start

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
andrepimenta
2026-04-12 14:35:17 +01:00
parent deca7de8d5
commit ef0b3c1b4e
2 changed files with 2 additions and 1 deletions

View File

@@ -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