Skip to content

Commit

Permalink
Revert "Merge pull request PrestaShop#6 from PrestaShop/add-ga"
Browse files Browse the repository at this point in the history
Google analytics is already handled by internal template (facepalm)

This reverts commit 3003600, reversing
changes made to 3dc403d.
  • Loading branch information
Pablo Borowicz committed Oct 14, 2022
1 parent 3003600 commit 33f8213
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@
<meta name="author" content="{{ . }}">{{ end }}
{{ hugo.Generator }}

{{ with site.Params.googleAnalytics }}
{{ if . }}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ . }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ . }}');
</script>
{{ end }}
{{ end }}

<!--Favicon-->
<link rel="shortcut icon" href="{{ site.Params.favicon | absURL }}" type="image/x-icon">
<link rel="icon" href="{{ site.Params.favicon | absURL }}" type="image/x-icon">
Expand Down

0 comments on commit 33f8213

Please sign in to comment.