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

Dual consent dialog is poor UX #154

Open
fgblomqvist opened this issue Jan 23, 2022 · 1 comment
Open

Dual consent dialog is poor UX #154

fgblomqvist opened this issue Jan 23, 2022 · 1 comment

Comments

@fgblomqvist
Copy link
Contributor

Operating system

N/A

Browser name and version

N/A

Expected & Actual behavior

Should be quick and easy to get started using the site, however, we currently have 2 different (and differently themed) consent dialogs that both appear at the same time. It's kind of confusing and not very user-friendly:
Screenshot from 2022-01-23 18-19-39

Instead both of these questions should be asked in a single dialog (probably the white one) with separate toggles or simply just one single set of buttons. Or some other better UX/UI.

Steps to reproduce behavior

Visit the site in incognito.

@auggod
Copy link
Member

auggod commented Jan 26, 2022

Found out that we can use offen api instead.

<script src="https://<your-installation-domain>/script.js" data-account-id="<your-account-id>" data-use-api></script>
window.__offen__.acquireConsent(function (err)  {
  if (err) {
    // an error occured acquiring the consent decision
    return
  }
  // a consent decision has been made
})

See: https://docs.offen.dev/running-offen/embedding-the-script/

Offen is a very interesting project but it's really experimental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants