mirror of
https://github.com/kemko/liquid.git
synced 2026-01-03 08:45:42 +03:00
Merge pull request #1081 from Shopify/adding-GA-tracking
Add GA tag for tracking
This commit is contained in:
@@ -32,6 +32,16 @@
|
||||
<meta name="twitter:url" content="{{ site.url | relative_url }}">
|
||||
<meta name="twitter:title" content="{{ page.title | default: site.title }}">
|
||||
<meta name="twitter:description" content="{{ page.description | default: site.description }}">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-49178120-52"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-49178120-52');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user