Skip to content

Commit f753ac3

Browse files
committed
fix: Add one trust auto-blocking script and remove unused attributes in gtag
1 parent 69c0567 commit f753ac3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/environments/environment.local.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const environment = {
88
BASE_URL: '',
99
INFO_SITE: 'https://info.orcid.org/',
1010
GOOGLE_ANALYTICS_TESTING_MODE: true,
11-
GOOGLE_TAG_MANAGER: 'GTM-M9Z7DHS',
11+
GOOGLE_TAG_MANAGER: 'GTM-0000000',
1212
GOOGLE_RECAPTCHA: '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI',
1313
HELP_HERO_ID: 'oYFQMrzFHA',
1414
ZENDESK: null,

src/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,17 @@
6666
gtag('consent', 'default', {
6767
analytics_storage: 'denied',
6868
ad_storage: 'denied',
69-
functionality_storage: 'denied',
7069
region: countries,
7170
wait_for_update: 500,
7271
})
7372

7473
gtag('consent', 'default', {
7574
analytics_storage: 'granted',
7675
ad_storage: 'granted',
77-
functionality_storage: 'granted',
7876
wait_for_update: 500,
7977
})
8078
</script>
79+
<script type="text/javascript" src="https://cdn.cookielaw.org/consent/5a6d60d3-b085-4e48-8afa-d707c7afc419-test/OtAutoBlock.js" ></script>
8180
<script
8281
type="text/javascript"
8382
src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"

0 commit comments

Comments
 (0)