			(function() {
			window.wp = window.wp || {};
			window.wp.rue89 = window.wp.rue89 || {};
			window.wp.rue89.nonces = {"setcid":"08164b868d","amp-analytics":"f2098d36ff","report-typo":"a8c7751ae5","magic-link":"e877c972cf","precheck":"ead4071bc4","form_async_alert_methods":"1cf8f578c7","form_async_alert_tags":"f4203ccbe7","audio-excerpt":"28eadd3ca4","dismiss-free-share-tooltip":"a8fe9b1bd3","relay-view":"75ec835428","relay-scroll":"e962e686c2"};
			})();
						(function() {
				var cookiebar = document.createElement('DIV');
				cookiebar.className = 'cookie-bar';
				cookiebar.innerHTML = '<div class="message">' + "En plus des cookies strictement n\u00e9cessaires au bon fonctionnement du site, nous utilisons des cookies d'analyse de l'audience. Vous pouvez les accepter ou les refuser." + '</div>'
					+ '<div class="buttons">'
					+ '<button class="accept">J\'accepte</button>'
					+ '<button class="reject">Je refuse</button>'
					+ '<a class="more-info" href="https://www.rue89strasbourg.com/cookies-balises-web-traceurs">Plus d\'infos</a>'
					+ '</div>';
				document.body.appendChild(cookiebar);

				var setCookie = function(accept) {
					const d = new Date();
					d.setTime(d.getTime() + (365 * 24 * 60 * 60 * 1000));
					document.cookie = 'r89-cookie-consent=' + accept + ';expires=' + d.toUTCString() + ';path=/';
				};
				cookiebar.querySelector('.accept').onclick = function() {
					setCookie('true');
					document.body.removeChild(cookiebar);
				};
				cookiebar.querySelector('.reject').onclick = function() {
					setCookie('false');
					document.body.removeChild(cookiebar);
				};
			})();
							(function() {
					var doEvent = function(selector, event, callback) {
						Array.prototype.forEach.call(
							document.querySelectorAll(selector),
							function(d) {
								d.addEventListener(event, callback);
							}
						);
					}
					var clickEvent = function(selector, callback) {
						doEvent(selector, 'click', callback);
					};

					(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
					(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
					m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
					})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

					ga('create', 'UA-27296758-1', 'auto');
					
					ga('send', 'pageview', {
						'dimension3':
							document.body.className.indexOf('home') >= 0 ? 'accueil' :
							document.body.className.indexOf('single-post') >= 0 ? 'article' :
							document.body.className.indexOf('category-') >= 0 ? 'categorie' :
							document.body.className.indexOf('tag-') >= 0 ? 'tag' :
							document.body.className.indexOf('page-') >= 0 ? 'page' :
							document.body.className.indexOf('author-') >= 0 ? 'auteur' :
							document.body.className.indexOf('search') >= 0 ? 'recherche' :
							'autre'
					});

					// social page buttons
					clickEvent('.social-widget a.social-button--blue', function(d) {
						ga('send', 'social', 'facebook', 'open', location.pathname);
					});
					clickEvent('.social-widget a.social-button--twitter', function(d) {
						ga('send', 'social', 'twitter', 'open', location.pathname);
					});
					clickEvent('.social-widget a.social-button--instagram', function(d) {
						ga('send', 'social', 'instagram', 'open', location.pathname);
					});
					clickEvent('.social-widget a.social-button--telegram', function(d) {
						ga('send', 'social', 'telegram', 'open', location.pathname);
					});

					// social share buttons
					clickEvent('a.share-bar__btn--facebook,a.share-facebook', function(d) {
						ga('send', 'social', 'facebook', 'share', location.pathname);
					});
					clickEvent('a.share-bar__btn--twitter,a.share-twitter', function(d) {
						ga('send', 'social', 'twitter', 'share', location.pathname);
					});

					// newsletter subscription
					doEvent('form.newsletter__form', 'submit', function(d) {
						ga('send', 'event', 'Newsletter', 'Inscription', 'Formulaire latéral');
					});

									})();
							(function() {
					var doEvent = function(selector, event, callback) {
						Array.prototype.forEach.call(
							document.querySelectorAll(selector),
							function(d) {
								d.addEventListener(event, callback);
							}
						);
					}
					var clickEvent = function(selector, callback) {
						doEvent(selector, 'click', callback);
					};

					window.dataLayer = window.dataLayer || [];
					function gtag(){dataLayer.push(arguments);}

					(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
					new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
					j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
					'https://www.googletagmanager.com/gtag/js?id='+i+dl;f.parentNode.insertBefore(j,f);
					})(window,document,'script','dataLayer','G-4WBZ627NDJ');

					gtag('js', new Date());
					gtag('set', 'allow_ad_personalization_signals', false);
					gtag('set', 'allow_google_signals', false);
					gtag('set', 'currency', 'EUR');

					gtag('set', {
						'page_type':
							document.body.className.indexOf('home') >= 0 ? 'accueil' :
							document.body.className.indexOf('single-post') >= 0 ? 'article' :
							document.body.className.indexOf('category-') >= 0 ? 'categorie' :
							document.body.className.indexOf('tag-') >= 0 ? 'tag' :
							document.body.className.indexOf('page-') >= 0 ? 'page' :
							document.body.className.indexOf('author-') >= 0 ? 'auteur' :
							document.body.className.indexOf('search') >= 0 ? 'recherche' :
							'autre'
					});

											gtag('config', 'G-4WBZ627NDJ');
					
					// social page buttons
					clickEvent('.social-widget a.social-button--blue', function(d) {
						gtag('event', 'open_social', {
							method: 'Facebook',
						});
					});
					clickEvent('.social-widget a.social-button--twitter', function(d) {
						gtag('event', 'open_social', {
							method: 'Twitter',
						});
					});
					clickEvent('.social-widget a.social-button--instagram', function(d) {
						gtag('event', 'open_social', {
							method: 'Instagram',
						});
					});
					clickEvent('.social-widget a.social-button--telegram', function(d) {
						gtag('event', 'open_social', {
							method: 'Telegram',
						});
					});

					// social share buttons
					clickEvent('a.share-bar__btn--facebook,a.share-facebook', function(d) {
						gtag('event', 'share', {
							method: 'Facebook',
							content_type: 'article',
							item_id: document.body.className.match(/postid-([0-9]+)/)[1],
						});
					});
					clickEvent('a.share-bar__btn--twitter,a.share-twitter', function(d) {
						gtag('event', 'share', {
							method: 'Twitter',
							content_type: 'article',
							item_id: document.body.className.match(/postid-([0-9]+)/)[1],
						});
					});

					// newsletter subscription
					doEvent('form.newsletter__form', 'submit', function(d) {
						gtag('event', 'subscribe_newsletter', {
							method: 'Formulaire latéral',
						});
					});

									})();
			