Skip to content

Commit b619cc9

Browse files
Merge pull request #53 from Couchbase-Ecosystem/Add-Cookies-Banner
Add cookies banner
2 parents f2a7f78 + 6f1640e commit b619cc9

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ const config = {
3131
attributes: {},
3232
innerHTML: `!function(){var e,t,n;e="${process.env.REO_CLIENT_ID}",t=function(){Reo.init({clientID:"${process.env.REO_CLIENT_ID}"})},(n=document.createElement("script")).src="https://static.reo.dev/"+e+"/reo.js",n.async=!0,n.onload=t,document.head.appendChild(n)}();`,
3333
},
34+
{
35+
tagName: 'script',
36+
attributes: {
37+
src: 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js',
38+
type: 'text/javascript',
39+
charset: 'UTF-8',
40+
'data-domain-script': '748511ff-10bf-44bf-88b8-36382e5b5fd9',
41+
},
42+
},
43+
{
44+
tagName: 'script',
45+
attributes: {
46+
type: 'text/javascript',
47+
},
48+
innerHTML: 'function OptanonWrapper() {}',
49+
},
3450
],
3551

3652
clientModules: [

0 commit comments

Comments
 (0)