Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Combinados Cookie and GTag Files
Browse files Browse the repository at this point in the history
  • Loading branch information
TeenBiscuits committed Mar 29, 2024
1 parent 6dae9de commit 06b2282
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
17 changes: 16 additions & 1 deletion docs/cfg/cookie-banner.html → docs/cfg/analytics.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
<!--
SPDX-FileCopyrightText: 2024 Pablo Portas López <pablo.portas@udc.es>

SPDX-License-Identifier: GPL-3.0-only
-->
<!-- Cookie Policy -->
<script type="text/javascript">
var _iub = _iub || [];
_iub.csConfiguration = {"askConsentAtCookiePolicyUpdate":true,"floatingPreferencesButtonDisplay":"anchored-bottom-left","lang":"es","perPurposeConsent":true,"siteId":3576343,"whitelabel":false,"cookiePolicyId":31085815,"floatingPreferencesButtonCaption":true, "banner":{ "acceptButtonDisplay":true,"closeButtonDisplay":false,"customizeButtonDisplay":true,"explicitWithdrawal":true,"listPurposes":true,"position":"float-top-center","rejectButtonDisplay":true,"showTitle":false }};
</script>
<script type="text/javascript" src="https://cs.iubenda.com/autoblocking/3576343.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-R2981R9F76"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-R2981R9F76');
</script>
6 changes: 2 additions & 4 deletions docs/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ SPDX-License-Identifier: GPL-3.0-only
<algolia-index>pro2324</algolia-index>
<algolia-api-key>d4e81705240b4f5de1022e3a86236964</algolia-api-key>
<web-root>https://teenbiscuits.github.io/Pro2324</web-root>
<!-- ANALYTICS -->
<analytics-head-script-file>gtag.js</analytics-head-script-file>
<!-- ANALYTICS AND COOKIE BANNER -->
<analytics-head-script-file>analytics.js</analytics-head-script-file>
<!-- EDIT GITHUB -->
<enable-browser-edits>true</enable-browser-edits>
<browser-edits-url>https://github.com/TeenBiscuits/Pro2324/edit/main/docs/</browser-edits-url>
Expand All @@ -36,8 +36,6 @@ SPDX-License-Identifier: GPL-3.0-only
<feedback-support></feedback-support>
<feedback-url></feedback-url>
-->
<!-- COOKIE BANNER -->
<include-before-body>cookie-banner.html</include-before-body>
<!-- GOOGLE SITE VERIFICATION -->
<include-in-head>google-site-verification.html</include-in-head>
</variables>
Expand Down
14 changes: 0 additions & 14 deletions docs/cfg/gtag.js

This file was deleted.

0 comments on commit 06b2282

Please sign in to comment.