Enable analytics tracking in dev and prod
Remove dev environment check — tracking runs everywhere. Data won't mix since each environment has its own database. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,7 +86,7 @@ async function trackPageView(visitor) {
|
||||
|
||||
export async function initAnalytics() {
|
||||
const keyB64 = document.body.dataset.k
|
||||
if (!keyB64 || document.body.dataset.env === 'dev') return
|
||||
if (!keyB64) return
|
||||
|
||||
try {
|
||||
encKey = await importKey(keyB64)
|
||||
|
||||
Reference in New Issue
Block a user