Skip to content

Commit fc89caa

Browse files
We don't need this anymore
1 parent 0022a68 commit fc89caa

1 file changed

Lines changed: 0 additions & 79 deletions

File tree

_includes/footer_custom.html

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,6 @@
33
<a onclick="changeCookies();">Click Here</a> to change</p>
44
</div>
55

6-
<!-- Tag Consent Stuff -->
7-
<style>
8-
#google_tag_consent {
9-
position: fixed;
10-
left: 0;
11-
bottom: 0;
12-
padding: 2em;
13-
width: 100vw;
14-
15-
background-color: #45434c;
16-
display: flex;
17-
flex-direction: row;
18-
align-items: center;
19-
justify-content: space-between;
20-
flex-wrap: wrap;
21-
}
22-
23-
#google_tag_consent h2 {
24-
margin-top: .1em;
25-
margin-bottom: .1em;
26-
}
27-
28-
.consent_button_wrapper button {
29-
margin: .25em;
30-
}
31-
</style>
32-
33-
<div id="google_tag_consent">
34-
<div>
35-
<h3>This site uses optional third-party cookies</h3>
36-
<p>We use cookies from Google to help improve our services, if you reject these cookies then only the cookies required for this site's function will be used.</p>
37-
</div>
38-
<div class="consent_button_wrapper">
39-
<button onclick="allowCookies();" class="btn btn-purple">Okay!</button>
40-
<button onclick="denyCookies();" class="btn">No thanks</button>
41-
</div>
42-
</div>
43-
446
<!-- How ba-a-a-ad can I be? -->
457
<!-- I'm just doing what comes naturally -->
468
<!-- How ba-a-a-ad can I be? -->
@@ -54,45 +16,4 @@ <h3>This site uses optional third-party cookies</h3>
5416
data-ad-slot="1868153772"></ins>
5517
<script>
5618
(adsbygoogle = window.adsbygoogle || []).push({});
57-
</script>
58-
59-
<script>
60-
function gtag() { dataLayer.push(arguments); }
61-
if (localStorage.getItem("cookieConsent") === null) {
62-
gtag('consent', 'update', {
63-
ad_user_data: 'denied',
64-
ad_personalization: 'denied',
65-
ad_storage: 'denied',
66-
analytics_storage: 'denied'
67-
});
68-
} else {
69-
document.getElementById("google_tag_consent").style.display = 'none';
70-
}
71-
72-
function allowCookies() {
73-
localStorage.setItem("cookieConsent", 'y');
74-
gtag('consent', 'update', {
75-
ad_user_data: 'granted',
76-
ad_personalization: 'granted',
77-
ad_storage: 'granted',
78-
analytics_storage: 'granted'
79-
});
80-
document.getElementById("google_tag_consent").style.display = 'none';
81-
}
82-
83-
function denyCookies() {
84-
document.cookie = "";
85-
localStorage.setItem("cookieConsent", 'n');
86-
gtag('consent', 'update', {
87-
ad_user_data: 'denied',
88-
ad_personalization: 'denied',
89-
ad_storage: 'denied',
90-
analytics_storage: 'denied'
91-
});
92-
document.getElementById("google_tag_consent").style.display = 'none';
93-
}
94-
95-
function changeCookies() {
96-
document.getElementById("google_tag_consent").style.display = 'unset';
97-
}
9819
</script>

0 commit comments

Comments
 (0)