Skip to content

Commit

Permalink
chore(analytics): google analytics update (#346)
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron Motevasselani <[email protected]>
  • Loading branch information
link108 and Cameron Motevasselani committed Jun 6, 2023
1 parent 2d20a4a commit 8ef7368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.toml
Expand Up @@ -47,7 +47,7 @@ anchor = "smart"
[services]
[services.googleAnalytics]
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
id = "UA-70174036-1"
id = "G-H0XE7ESBFR"

# Language configuration

Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/head.html
Expand Up @@ -14,7 +14,7 @@
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ partialCached "head-css.html" . "asdf" }}
<script
Expand All @@ -32,4 +32,4 @@
{{ if eq .Params.mermaid true }}
{{ partial "mermaid-script.html" . }}
{{ end }}
{{ partial "hooks/head-end.html" . }}
{{ partial "hooks/head-end.html" . }}

0 comments on commit 8ef7368

Please sign in to comment.