Skip to content

Commit

Permalink
edit cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
bouchja1 committed Dec 14, 2023
1 parent 2b61aa4 commit 5f39a60
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
19 changes: 14 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-60PPES2PJ8"></script>
<script>
<!-- Google Analytics -->
<script type="text/plain" data-cookie-consent="tracking" async src="https://www.googletagmanager.com/gtag/js?id=G-60PPES2PJ8"></script>
<script type="text/plain" data-cookie-consent="tracking">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-60PPES2PJ8');
</script>
<!-- end of Google Analytics-->
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<style>
Expand All @@ -27,8 +28,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="KdeToSakra.cz - Český GeoGuessr" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5004824872733514"
crossorigin="anonymous"></script>
<!-- Google AdSense -->
<script type="text/plain" data-cookie-consent="targeting" async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5004824872733514" crossorigin="anonymous"></script>
<!-- end of Google AdSense-->
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand All @@ -43,6 +45,13 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<!-- Cookie Consent by FreePrivacyPolicy.com https://www.FreePrivacyPolicy.com -->
<script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js" charset="UTF-8"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({"notice_banner_type":"headline","consent_type":"express","palette":"light","language":"cs","page_load_consent_levels":["strictly-necessary"],"notice_banner_reject_button_hide":false,"preferences_center_close_button_hide":false,"page_refresh_confirmation_buttons":false,"website_name":"KdeToSakra.cz","website_privacy_policy_url":"https://kdetosakra.cz/cookies"});
});
</script>
<title>KdeToSakra.cz - Český GeoGuessr</title>
</head>
<body>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Cookies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ export const CookiesPage = () => {
Tyto zásady mohou být pravidelně aktualizovány, aby odrážely změny v našich praktikách nebo změny v
právních požadavcích.
</p>
<p>
<a href="#" id="open_preferences_center">
Upravit svůj souhlas s cookies.
</a>
</p>
<p>Tyto podmínky jsou platné od 14. 12. 2023</p>
</div>
</Content>
Expand Down

0 comments on commit 5f39a60

Please sign in to comment.