/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/


function acconsento_js() {
    echo '<script>
  window.dataLayer = window.dataLayer || [];
  function gtag() { dataLayer.push(arguments); }
  gtag('consent', 'default', {
	  ad_storage: 'denied',
	  ad_user_data: 'denied',
	  ad_personalization: 'denied',
	  analytics_storage: 'denied',
	  functionality_storage: 'granted',
	  personalization_storage: 'denied',
	  security_storage: 'granted',
	  wait_for_update: 500
  });
</script>';
}
add_action( 'admin_head', 'acconsento_js' );
add_action( 'wp_head', 'acconsento_js' );