X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7b8e0d73cd11dd7a4de5d8ffd028a740f345d572..87c18bbe4e7fafbc89442c15e49d4099182c7567:/wolnelektury/templates/catalogue/book_text.html diff --git a/wolnelektury/templates/catalogue/book_text.html b/wolnelektury/templates/catalogue/book_text.html index 8a6b0f639..d3f6a1c73 100644 --- a/wolnelektury/templates/catalogue/book_text.html +++ b/wolnelektury/templates/catalogue/book_text.html @@ -34,11 +34,13 @@ </ol> </div> {{ book.html_file.read|safe }} - <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> - </script> - <script type="text/javascript"> - _uacct = "UA-2576694-1"; - urchinTracker(); - </script> + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + var pageTracker = _gat._getTracker("UA-2576694-1"); + pageTracker._trackPageview(); + </script> </body> </html>