Google Analytics


<script type="text/javascript">
   // <![CDATA[
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-00000000-1']);
   _gaq.push(['_setAllowLinker', true]);
   (function() {
       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   //    ]]>

Last edited Jun 4, 2013 at 8:42 PM by gmbarlow, version 1


lpasone May 28, 2015 at 5:46 PM 
in dnn there is a module Analitycs to set google analitycs for website. There is the id-track input only... So, if user doesn't accept cookie for analitycs I have to disable tracking...
Have I to change script with this in page? But, in Dnn if i use google analitycs module i can't see script and i can't change script.

Any idea?