Cómo instalar el script de consentimiento de Google para el banner CMP

window.dataLayer = window.dataLayer || [];
        function gtag() {
            dataLayer.push(arguments);
        }
        gtag("consent", "default", {
            ad_storage: "denied",
            analytics_storage: "denied",
            wait_for_update: 1000
        });
          gtag('set', 'url_passthrough', true);
          gtag("set", "ads_data_redaction", true);
s
SAMER SAEID