Skip to content

Commit 01f8280

Browse files
Merge pull request #31 from Couchbase-Ecosystem/add-ga-analytics
revert add banner
2 parents 13654b3 + f125ae9 commit 01f8280

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

docusaurus/docusaurus.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ const config: Config = {
3030
locales: ['en'],
3131
},
3232

33+
// OneTrust Cookies Consent Notice for couchbase.com
34+
headTags: [
35+
{
36+
tagName: 'script',
37+
attributes: {
38+
src: 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js',
39+
type: 'text/javascript',
40+
charset: 'UTF-8',
41+
'data-domain-script': '748511ff-10bf-44bf-88b8-36382e5b5fd9',
42+
},
43+
},
44+
{
45+
tagName: 'script',
46+
attributes: {
47+
type: 'text/javascript',
48+
},
49+
innerHTML: 'function OptanonWrapper() {}',
50+
},
51+
],
52+
3353
presets: [
3454
[
3555
'classic',

0 commit comments

Comments
 (0)