Skip to content

Commit

Permalink
fix: remove async version of Google Analytics (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Apr 6, 2024
1 parent c525711 commit 4d73eb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
{{- partial "math.html" .context -}}
{{- if (hasPrefix .context.Site.GoogleAnalytics "G-") -}}
{{- template "_internal/google_analytics.html" .context -}}
{{- else -}}
{{- template "_internal/google_analytics_async.html" .context -}}
{{- end -}}
{{- if and (hugo.IsProduction) (.context.Site.Params.gtagId) -}}
{{ partial "google-analytics-gtag-async.html" .context }}
Expand Down

0 comments on commit 4d73eb5

Please sign in to comment.