mirror of
https://github.com/soulaklabs/bitoduc.fr.git
synced 2025-12-09 09:33:23 +00:00
Création d'un répertoire dédié pour le javascript
This commit is contained in:
19
js/gogol-analytique.js
Normal file
19
js/gogol-analytique.js
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
$(function() {
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.pousser(['_setAccount', 'UA-42609030-1']);
|
||||
_gaq.pousser(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.creerElement('script');
|
||||
ga.type = 'text/javascript';
|
||||
ga.async = true;
|
||||
ga.src =
|
||||
('https:' == document.localisation.protocole ?
|
||||
'https://ssl' : 'http://www')
|
||||
+ '.google-analytics.com/ga.js';
|
||||
var s = document.recupererElementParNomDEtiquette('script')[0];
|
||||
s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
});
|
||||
Reference in New Issue
Block a user