From 063958c05c38c4945a79cc512ceacae5e064a87e Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Mon, 6 Oct 2025 14:40:28 -0700 Subject: [PATCH] Add OneTrust to ensure compliance --- docusaurus.config.js | 14 ++++++++++++++ static/scripts/optanonwrapper.js | 1 + 2 files changed, 15 insertions(+) create mode 100644 static/scripts/optanonwrapper.js diff --git a/docusaurus.config.js b/docusaurus.config.js index b19430f15..fb3861b4f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -150,4 +150,18 @@ module.exports = { }, ], ], + scripts: [ + { + src: 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js', + type:'text/javascript', + charset: 'UTF-8', + 'data-domain-script': '0f98beb0-fc4c-417d-a42e-564e2cae42d2', + async: true + }, + { + src: '/scripts/optanonwrapper.js', + type:'text/javascript', + async: true + }, + ], }; diff --git a/static/scripts/optanonwrapper.js b/static/scripts/optanonwrapper.js new file mode 100644 index 000000000..4f78e1ef3 --- /dev/null +++ b/static/scripts/optanonwrapper.js @@ -0,0 +1 @@ +function OptanonWrapper() { } \ No newline at end of file