Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function(){
- // Guard clause sur toutes les combinaisons où les cookies de webanalytics ne sont pas acceptés
- if( -1 !== document.cookie.indexOf('sipacmp_consent=33')
- || -1 !== document.cookie.indexOf('sipacmp_consent=35')
- || -1 !== document.cookie.indexOf('sipacmp_consent=37')
- || -1 !== document.cookie.indexOf('sipacmp_consent=39')
- || -1 !== document.cookie.indexOf('sipacmp_consent=49')
- || -1 !== document.cookie.indexOf('sipacmp_consent=51')
- || -1 !== document.cookie.indexOf('sipacmp_consent=53')
- || -1 !== document.cookie.indexOf('sipacmp_consent=55')
- ) return;
- //Ceci est un exemple de tag GA, à modifier avec votre propre setup!!!!!
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'UA-12345678-1');
- //Fin de l'exemple
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement