Status
Stands in for your own experiment assignment: it writes
localStorage["cookieModalVariant"] and reloads. The
OneTrust choice is cleared along with it so the flow can be replayed
from the start.
- New visitors see the Upod cookie modal; the OneTrust banner stays hidden.
-
“Arrange cookies yourself” (or closing the modal) reveals the
OneTrust banner via
OneTrust.LoadBanner(). -
Declining everything in that banner reveals the Upod widget
closed— the visitor already clicked the modal away, so it is not opened for them a second time.
-
The
<upod-cookie-modal />is never added to the page and never initialized. - New visitors go straight to the OneTrust banner at page load.
-
Declining everything in that banner reveals the Upod widget
open— this visitor has not seen the Upod proposition yet, so the modal is opened for them.
Read the page source: every line that differs from
cookie-modal-onetrust.html is marked
[A + B], [A ONLY] or [B ONLY].
Authenticated visitors skip the modal and the banner in both variants:
their Upod cookie preferences are fetched and pushed into the OneTrust
SDK via upodOneTrust.createOneTrustAdapter().
Upod consent (normalized)
—
OneTrust state
—