summaryrefslogtreecommitdiff
path: root/Static/Js/googleAnalitycs.js
diff options
context:
space:
mode:
Diffstat (limited to 'Static/Js/googleAnalitycs.js')
-rw-r--r--Static/Js/googleAnalitycs.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/Static/Js/googleAnalitycs.js b/Static/Js/googleAnalitycs.js
new file mode 100644
index 0000000..c67770f
--- /dev/null
+++ b/Static/Js/googleAnalitycs.js
@@ -0,0 +1,11 @@
+
+// ############################################################################
+// # #
+// # Description: Global site tag (gtag.js) - Google Analytics #
+// # #
+// ############################################################################
+
+window.dataLayer = window.dataLayer || [];
+function gtag(){dataLayer.push(arguments);}
+gtag('js', new Date());
+gtag('config', 'G-'); // G-XXXXXXXXXX -> Clef API à récupérer chez google