adds osana script

This commit is contained in:
akcodez
2024-06-24 09:24:56 -07:00
parent d86e6f9435
commit 29feb968f2
2 changed files with 16 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ theme:
- src: ./static/js/xrpl-2.11.0.min.js
- src: ./static/vendor/jquery-3.7.1.min.js
- src: ./static/vendor/bootstrap.min.js
- src: ./static/js/osano.js
body:
- src: ./static/js/xrplai-config.js
id: xrplai-options

15
static/js/osano.js Normal file
View File

@@ -0,0 +1,15 @@
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("consent", "default", {
ad_storage: "denied",
analytics_storage: "denied",
ad_user_data: "denied",
ad_personalization: "denied",
personalization_storage: "denied",
functionality_storage: "granted",
security_storage: "granted",
wait_for_update: 500,
});
gtag("set", "ads_data_redaction", true);