Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #310 from mozilla/ga-test
Browse files Browse the repository at this point in the history
GA consent mode
  • Loading branch information
argl authored May 23, 2024
2 parents a53644c + d976f32 commit 62a5839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/ga.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ if (!dntEnabled()) {
}
gtag("js", new Date());

gtag("consent", "default", {
analytics_storage: "denied",
});

gtag("config", "G-0YL01S2FDK");
}

0 comments on commit 62a5839

Please sign in to comment.