new
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<% if (theme.googleAnalytics.enable) { %>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=<%- theme.googleAnalytics.id %>"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
|
||||
gtag('js', new Date());
|
||||
gtag('config', '<%- theme.googleAnalytics.id %>');
|
||||
</script>
|
||||
<% } %>
|
||||
Reference in New Issue
Block a user