Skip to content

Commit 42def11

Browse files
authored
Update header.php
1 parent 7b6e6a3 commit 42def11

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

application/views/common/header.php

+6-7
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@
2222
2323
<script src="https://code.jquery.com/jquery.js"></script>
2424
<script src="/assets/js/all-min.js"></script>
25+
<!-- Google tag (gtag.js) -->
26+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CK9X7YDC78"></script>
2527
<script>
26-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
27-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
28-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
29-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
30-
31-
ga('create', 'UA-7539303-17', 'auto');
32-
ga('send', 'pageview');
28+
window.dataLayer = window.dataLayer || [];
29+
function gtag(){dataLayer.push(arguments);}
30+
gtag('js', new Date());
3331
32+
gtag('config', 'G-CK9X7YDC78');
3433
</script>
3534
</head>
3635
<body class="creamy">

0 commit comments

Comments
 (0)