fix: Update script default API URL and add data-api to settings snippet

This commit is contained in:
Usman Baig
2026-01-16 14:35:10 +01:00
parent d6f19fe7c8
commit d6140181ea
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
}
const domain = script.getAttribute('data-domain');
const apiUrl = script.getAttribute('data-api') || 'https://analytics.ciphera.net';
const apiUrl = script.getAttribute('data-api') || 'https://analytics-api.ciphera.net';
// * Generate ephemeral session ID (not persistent)
function getSessionId() {