Skip to content
Extraits de code Groupes Projets
Valider e959e529 rédigé par maxwell's avatar maxwell
Parcourir les fichiers

ga looks like it only likes if the code is pasted...hrmpf

parent ba620e54
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -36,7 +36,16 @@
= csrf_meta_tag
= yield(:head)
= javascript_include_tag 'vendor/ga'
:javascript
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17207587-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
%body
- flash.each do |name, msg|
......
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17207587-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter