1300 Series

grantButton.addEventListener("click", function() { localStorage.setItem("consentGranted", "true"); function gtag() { dataLayer.push(arguments); } gtag('consent', 'update', { ad_user_data: 'granted', ad_personalization: 'granted', ad_storage: 'granted', analytics_storage: 'granted' }); }); // Load Tag Manager script. var gtmScript = document.createElement('script'); gtmScript.async = true; gtmScript.src = 'https://www.googletagmanager.com/gtm.js?id=GTM-WZ9JBFT'; var firstScript = document.getElementsByTagName('script')[0]; firstScript.parentNode.insertBefore(gtmScript,firstScript);