Skip to content

Commit

Permalink
Merge pull request #1 from L-Rehman/107224-cookiebot
Browse files Browse the repository at this point in the history
feat: remove cookiebot scripts and css
  • Loading branch information
L-Rehman authored Feb 20, 2024
2 parents d32cf3e + 3005d08 commit a35625b
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,6 @@
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<!-- Google Consent mode -->
<script data-cookieconsent="ignore">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("consent", "default", {
ad_storage: "denied",
analytics_storage: "denied",
functionality_storage: "denied",
personalization_storage: "denied",
security_storage: "granted",
wait_for_update: 2000,
});
gtag("set", "ads_data_redaction", true);
</script>
<!-- End Google Consent mode -->

<script data-cookieconsent="ignore">
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({'gtm.start': new Date().getTime(), event: 'gtm.js'});
var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-WZBKMJP');
</script>
<!-- End Google Tag Manager -->

<!-- Cookiebot -->
<script
id="Cookiebot"
src="https://consent.cookiebot.com/uc.js"
data-cbid="ec5f4b04-e699-4bea-a9de-eda95d4d9fb7"
data-blockingmode="auto"
type="text/javascript"
></script>
<!-- End Cookiebot -->

<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="https://gmpg.org/xfn/11">
Expand Down

0 comments on commit a35625b

Please sign in to comment.