Skip to content

Commit

Permalink
Fix google analytics boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbenz committed May 28, 2019
1 parent ca8948e commit 142749e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions boilerplate/templates/partials/analytics/google.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
\{{#googleAnalytics.selected}}
<amp-analytics type="gtag" data-credentials="include">
<script type="application/json">
{
"vars" : {
"gtag_id": "{{ googleAnalytics.trackingId }}",
"gtag_id": "\{{ googleAnalytics.trackingId }}",
"config" : {
"{{ googleAnalytics.trackingId }}": {
"\{{ googleAnalytics.trackingId }}": {
"groups": "default"
}
}
Expand Down

0 comments on commit 142749e

Please sign in to comment.