{% load ocyan_main %}<script nonce="{% nonce %}">
    window.dataLayer = window.dataLayer || [];
    function gconsent(){dataLayer.push(arguments);}

    gconsent('consent', 'default', {
        'ad_storage': '{{cookie_jar.marketing.is_allowed|yesno:"granted,denied"}}',
        'ad_user_data': '{{cookie_jar.marketing.is_allowed|yesno:"granted,denied"}}',
        'ad_personalization': '{{cookie_jar.marketing.is_allowed|yesno:"granted,denied"}}',
        'analytics_storage': '{{cookie_jar.analytical.is_allowed|yesno:"granted,denied"}}',
        'functionality_storage': '{{ cookie_jar.functional.is_allowed|yesno:"granted,denied"}}',
        'personalization_storage': '{{cookie_jar.marketing.is_allowed|yesno:"granted,denied"}}',
        'security_storage': '{{cookie_jar.functional.is_allowed|yesno:"granted,denied"}}'
      });
 </script>
