Google analytics tracking anchor
authorSamuel Huron <samuel.huron@centrepompidou.fr>
Thu, 06 Oct 2011 14:35:10 +0200
changeset 292 dfcc0e08f295
parent 291 db1e6bfaa54e
child 295 87d2e09c578c
Google analytics tracking anchor
web/polemicaltimeline.php
--- a/web/polemicaltimeline.php	Wed Oct 05 18:11:31 2011 +0200
+++ b/web/polemicaltimeline.php	Thu Oct 06 14:35:10 2011 +0200
@@ -160,7 +160,7 @@
 	<script type="text/javascript">
 		var _gaq = _gaq || [];
 		_gaq.push(['_setAccount', 'UA-23581291-1']);
-		_gaq.push(['_trackPageview']);
+		_gaq.push(['_trackPageview'], location.pathname + location.search + location.hash]);
 		_gaq.push(['_setAllowAnchor', true]);
 	  
 		(function() {