From 105b825923ce03fc43eacb0575212fe52336ce34 Mon Sep 17 00:00:00 2001 From: Debulois Date: Mon, 9 May 2022 20:03:42 +0200 Subject: Mis en place du RGPD --- Static/Js/googleAnalitycs.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Static/Js/googleAnalitycs.js (limited to 'Static/Js/googleAnalitycs.js') 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 -- cgit v1.2.3