Skip to content

Commit c340d17

Browse files
add cookie banner script
1 parent 7b23589 commit c340d17

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cookieyes-banner.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const cookieyesSrc = "https://cdn-cookieyes.com/client_data/0ec5a8e516eccaa724a461f6/script.js";
2+
const bannerId = "cookieyes";
3+
4+
function createBanner() {
5+
const el = document.createElement("script");
6+
el.src = cookieyesSrc;
7+
el.id = bannerId;
8+
el.type = "text/javascript"
9+
10+
document.head.appendChild(el);
11+
}
12+
13+
createBanner();

0 commit comments

Comments
 (0)