Skip to content

Commit 6fca050

Browse files
committed
Update gtag
1 parent c8fae90 commit 6fca050

File tree

1 file changed

+1
-7
lines changed
  • _includes/analytics-providers

1 file changed

+1
-7
lines changed

_includes/analytics-providers/google

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
<!-- Google tag (gtag.js) -->
22
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
3-
<script>
4-
window.dataLayer = window.dataLayer || [];
5-
function gtag(){dataLayer.push(arguments);}
6-
gtag('js', new Date());
7-
8-
gtag('config', '{{ site.analytics.google.tracking_id }}');
9-
</script>
3+
<script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());gtag('config', '{{ site.analytics.google.tracking_id }}');</script>

0 commit comments

Comments
 (0)