Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment is not loaded when OneTrust consent integration is setup and jurisdiction does not require a banner to be shown. #972

Closed
backjo opened this issue Oct 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@backjo
Copy link

backjo commented Oct 16, 2023

In

, Segment's consent-wrapper for OneTrust checks for oneTrustGlobal.IsAlertBoxClosed(). This function will not return true unless a user has explicitly confirmed / set their privacy settings. While this is desirable in jurisdictions like US-CA and the EU, some jurisdictions do not require a banner to first be shown and thus many users will not explicitly set a privacy setting with OneTrust - preventing the Segment SDK from ever being loaded for that user.
Screenshot 2023-10-16 at 5 47 23 PM

@silesky silesky added the bug Something isn't working label Oct 17, 2023
@silesky
Copy link
Contributor

silesky commented Oct 17, 2023

Thanks, @backjo for taking out an issue.

Do you know where that "Show Banner" setting is in OneTrust, so I can reproduce? I'm having trouble finding it in the OT UI.
edit: Found it!

@silesky
Copy link
Contributor

silesky commented Oct 19, 2023

Thanks @backjo for reporting. I have explored the OT API, and been unable to identify a general fix.

I went ahead and contacted OneTrust about this bug / behavior.

I will keep this issue updated.

@backjo
Copy link
Author

backjo commented Oct 19, 2023

Thx @silesky - if it's a larger fix that is needed, it might be useful just to let a consumer of this library drive this behavior via a configuration property on the OneTrustSettings

@silesky
Copy link
Contributor

silesky commented Nov 3, 2023

@backjo good news, I have a PR up (#987)

Just confirming: you have default categories (e.g CAT001, etc) set up that will always be active for the jurisdictions in question, correct, unless they explicitly opt out by interacting with the modal?

@silesky silesky closed this as completed Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants