mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2026-05-30 08:15:38 +08:00
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:
@@ -2359,6 +2359,7 @@ const getScript = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'htt
|
|||||||
|
|
||||||
// Trigger checkout flow for OpenCredits
|
// Trigger checkout flow for OpenCredits
|
||||||
function triggerOpenCreditsCheckout(modelId) {
|
function triggerOpenCreditsCheckout(modelId) {
|
||||||
|
sendStats('Checkout started', { model: modelId });
|
||||||
pendingModelSelection = modelId;
|
pendingModelSelection = modelId;
|
||||||
hideModelModal();
|
hideModelModal();
|
||||||
// Tell extension about pending model
|
// Tell extension about pending model
|
||||||
|
|||||||
@@ -1076,7 +1076,7 @@ const getHtml = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'https
|
|||||||
2. Do I need to display a cookie notice to users?
|
2. Do I need to display a cookie notice to users?
|
||||||
No, Umami does not use any cookies in the tracking code.
|
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>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user