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

Commit

Permalink
added GA consent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
argl committed May 23, 2024
1 parent a53644c commit d976f32
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 d976f32

Please sign in to comment.