OneTrust & Segment (#1563)

* remove cookit (styling and logic), introduce segment load snippet directly into <head>, no consent for loading, add onetrust consent snippet and logic

* simplify register call and leverage window.OnetrustActiveGroups

* onetrust load before segment ready

* add production value for HUGO_PARAMS_onetrustScriptId to netlify.toml
This commit is contained in:
jasonbryant84
2025-05-08 14:31:08 +01:00
committed by GitHub
parent 846915a216
commit f89f6c7039
17 changed files with 123 additions and 406 deletions
@@ -180,7 +180,6 @@ blockquote {
@import "blocks/footer";
@import "responsive";
@import "cookit";
@import "mathjax";
@import "lang-switcher";
@import "blocks/top-banner";