| author | ymh <ymh.work@gmail.com> |
| Fri, 19 Jul 2024 09:38:03 +0200 | |
| changeset 704 | b5835dca2624 |
| parent 668 | f66c544255e1 |
| permissions | -rw-r--r-- |
| 170 | 1 |
<script> |
|
668
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
2 |
if( $.cookie('cc_cookie_accept') == "cc_cookie_accept" ) { |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
3 |
var _gaq=[['_setAccount','{{ analytics_code }}'],['_trackPageview']]; |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
4 |
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
5 |
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
6 |
s.parentNode.insertBefore(g,s)}(document,'script')); |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
7 |
} |
|
f66c544255e1
correct google analytics with cookiecutr interaction
ymh <ymh.work@gmail.com>
parents:
266
diff
changeset
|
8 |
</script> |