Skip to content

Commit

Permalink
Disables tracking for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
drzackyll committed Apr 23, 2020
1 parent ca2d865 commit 5fb2b5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etools-piwik-analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

// _paq array initialization and tracking script
var _paq = _paq || [];
// disables tracking for local development
if (SITE_ID === '6') {
_paq.push(['requireConsent']);
}
_paq.push(["trackPageView"]);
_paq.push(['trackAllContentImpressions']);
_paq.push(["enableLinkTracking"]);
Expand Down

0 comments on commit 5fb2b5e

Please sign in to comment.