Paste Search Dynamic
Recent pastes
getCookie
  1. function getCookie(name) {
  2.     var re = new RegExp(name + "=([^;]+)");
  3.     var value = re.exec(document.cookie);
  4.     return (value != null) ? unescape(value[1]) : 'no';
  5. }
  6.    
  7. if (getCookie('cookielawinfo-checkbox-analytics') == 'yes') {
  8.     // Enable my Analytics tracking as the analytics category consent and overall consent is granted
  9.   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  10.   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  11.   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  12.   })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  13.   ga('create', 'UA-XXXXXXXX-X', 'auto'); // XXXXXXXX-X à changer en fonction de votre UA-id
  14.   ga('send', 'pageview');
  15.  
  16. }
Parsed in 0.011 seconds