Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Add eslint ignore.

Mike Cao03b374a1d846
diff --git a/tracker/index.js b/tracker/index.js
index 8c27c8e2c..60957d763 100644
--- a/tracker/index.js
+++ b/tracker/index.js
@@ -13,6 +13,7 @@ import { post, hook, doNotTrack } from '../lib/web';
const script = document.querySelector('script[data-website-id]');
+ // eslint-disable-next-line no-undef
if (!script || (__DNT__ && doNotTrack())) return;
const website = script.getAttribute('data-website-id');