diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-09-27 14:17:24 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <git@serghei.pl> | 2024-09-27 19:10:50 +0200 |
| commit | 96fdcc50bde51af98c8ded2890f4c45c2c801b6e (patch) | |
| tree | 6a224d2f72f4aa52b7f5c5e842b95d9143d00429 /layouts/partials/seo/ga.html | |
| parent | dcbed3e3e8addb073eabc540bc926e65361d3d49 (diff) | |
| download | gohugo-theme-ed-96fdcc50bde51af98c8ded2890f4c45c2c801b6e.tar.gz | |
Drop support of AnonymizeIp configuration parameter
Diffstat (limited to 'layouts/partials/seo/ga.html')
| -rw-r--r-- | layouts/partials/seo/ga.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/seo/ga.html b/layouts/partials/seo/ga.html index 5fcde75..40758d8 100644 --- a/layouts/partials/seo/ga.html +++ b/layouts/partials/seo/ga.html @@ -1,6 +1,6 @@ {{- if (or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production")) -}} {{- with site.GoogleAnalytics -}} - {{- $gaParams := dict "analyticsCode" (site.GoogleAnalytics | default "") "anonymizeIp" (site.Params.anonymizeIp | default true) -}} + {{- $gaParams := dict "analyticsCode" (site.GoogleAnalytics | default "") -}} {{- $gaScript := slice -}} {{- $gaScript = $gaScript | append (resources.Get "js/ga.js") -}} |
