... | in configuration.naml |
1 2 3 4 5 6 7
|
<override_macro name="js_google_analytics">
<n.overridden/>
<script>
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script>
</override_macro>
|
... | in utilities.naml |
103 104 105 106 107 108 109 110 111 112 113 114 115
|
<macro name="js_google_analytics">
<!-- Start Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91855-9', 'auto', 'nabble');
ga('nabble.send', 'pageview');
</script>
<!-- End Google Analytics -->
</macro>
|
Free forum by Nabble | Edit this page |