wiki:arctic_customization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:arctic_customization [2010/12/15 16:05] – [print.css] chkuo | wiki:arctic_customization [2023/05/12 10:57] (current) – [analytics.script] chkuo | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== analytics.script ===== | ===== analytics.script ===== | ||
Add this file to the template directory: | Add this file to the template directory: | ||
- | < | + | <file> |
- | < | + | <!-- Google tag (gtag.js) --> |
+ | < | ||
+ | < | ||
+ | window.dataLayer = window.dataLayer || []; | ||
+ | function gtag(){dataLayer.push(arguments); | ||
+ | gtag(' | ||
- | | + | |
- | _gaq.push(['_setAccount', 'UA-2138404-9']); | + | </ |
- | | + | |
- | (function() { | ||
- | var ga = document.createElement(' | ||
- | ga.src = (' | ||
- | var s = document.getElementsByTagName(' | ||
- | })(); | ||
- | |||
- | </ | ||
</ | </ | ||
wiki/arctic_customization.1292400330.txt.gz · Last modified: by chkuo