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

View File

@@ -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 ? '<script defer src="https://umami.claudecodechat.com/script.js" data-website-id="6310c878-cfe4-4044-b4ef-a60cd0e0dfe4"></script>' : '<!-- Umami analytics disabled due to VS Code telemetry settings -->'}
${isTelemetryEnabled ? '<script defer src="https://umami.claudecodechat.com/script.js" data-website-id="0159e9b1-4a98-4b49-943a-32db3e743b95"></script>' : '<!-- Umami analytics disabled due to VS Code telemetry settings -->'}
</body>
</html>`;