Skip to content

Commit

Permalink
fix: Add one trust auto-blocking script and remove unused attributes …
Browse files Browse the repository at this point in the history
…in gtag (#2070)
  • Loading branch information
DanielPalafox authored Oct 6, 2023
1 parent 69c0567 commit 2b04dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/environments/environment.local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const environment = {
BASE_URL: '',
INFO_SITE: 'https://info.orcid.org/',
GOOGLE_ANALYTICS_TESTING_MODE: true,
GOOGLE_TAG_MANAGER: 'GTM-M9Z7DHS',
GOOGLE_TAG_MANAGER: 'GTM-0000000',
GOOGLE_RECAPTCHA: '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI',
HELP_HERO_ID: 'oYFQMrzFHA',
ZENDESK: null,
Expand Down
3 changes: 1 addition & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,17 @@
gtag('consent', 'default', {
analytics_storage: 'denied',
ad_storage: 'denied',
functionality_storage: 'denied',
region: countries,
wait_for_update: 500,
})

gtag('consent', 'default', {
analytics_storage: 'granted',
ad_storage: 'granted',
functionality_storage: 'granted',
wait_for_update: 500,
})
</script>
<script type="text/javascript" src="https://cdn.cookielaw.org/consent/5a6d60d3-b085-4e48-8afa-d707c7afc419-test/OtAutoBlock.js" ></script>
<script
type="text/javascript"
src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"
Expand Down

0 comments on commit 2b04dfe

Please sign in to comment.