VÅRA GRANNAR

let cookieRow = document.cookie .split('; ') .find(row => row.startsWith('cookie_notice_accepted')); let cookie_notice_accepted = cookieRow ? cookieRow.split('=')[1] : ''; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} if (cookie_notice_accepted == 'true') { gtag('js', new Date()); gtag('config', 'UA-143281440-1'); }