File tree 2 files changed +41
-5
lines changed
2 files changed +41
-5
lines changed Original file line number Diff line number Diff line change
1
+ import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment' ;
2
+
3
+ if ( ExecutionEnvironment . canUseDOM ) {
4
+
5
+ // OptanonConsentNoticeStart
6
+
7
+ const script = document . createElement ( 'script' ) ;
8
+
9
+ script . src = 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js' ;
10
+ script . type = 'text/javascript' ;
11
+ script . setAttribute ( 'data-domain-script' , '019321c1-4b7e-7313-9372-ddbd938f50ea' )
12
+ script . innerHTML = "function OptanonWrapper() { }" ;
13
+
14
+ document . getElementsByTagName ( 'head' ) [ 0 ] . appendChild ( script ) ;
15
+
16
+ // OptanonConsentNoticeStart -->
17
+
18
+ }
Original file line number Diff line number Diff line change @@ -133,14 +133,28 @@ const getConfig = async () => {
133
133
items : [
134
134
{
135
135
label : 'Legal' ,
136
- href : 'https://www.tableau .com/en-us /legal' ,
136
+ href : 'https://www.salesforce .com/company /legal/ ' ,
137
137
} ,
138
+ {
139
+ label : 'Terms of Service' ,
140
+ href : 'https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/' ,
141
+ } ,
138
142
{
139
143
label : 'Privacy' ,
140
144
href : 'https://www.salesforce.com/company/privacy/'
141
- }
142
- ]
143
-
145
+ } ,
146
+ {
147
+ label : 'Responsible Disclosure' ,
148
+ href : 'https://www.salesforce.com/company/legal/disclosure/' ,
149
+ } ,
150
+ {
151
+ label : 'Trust' ,
152
+ href : 'https://trust.salesforce.com/' ,
153
+ } ,
154
+ {
155
+ html : `<a href="#" data-ignore-geolocation="true" class="optanon-toggle-display" style="color:#FFFFFF">Cookie Preferences</a>` ,
156
+ }
157
+ ]
144
158
} ,
145
159
] ,
146
160
copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Salesforce, Inc. Built with Docusaurus.` ,
@@ -167,11 +181,15 @@ const getConfig = async () => {
167
181
[
168
182
'@docusaurus/plugin-google-gtag' ,
169
183
{
170
- trackingID : 'UA-625217-51 ' ,
184
+ trackingID : '469571326 ' ,
171
185
anonymizeIP : true ,
172
186
} ,
173
187
] ,
174
188
] ,
189
+
190
+ clientModules : [
191
+ require . resolve ( './_analytics.js' ) ,
192
+ ] ,
175
193
} ;
176
194
}
177
195
You can’t perform that action at this time.
0 commit comments