beamer-bridge / www.beamerbridge.com

https://beamerbridge.com
0 stars 1 forks source link

Add MatomoConsentPopup #39

Closed manuelwedler closed 1 year ago

manuelwedler commented 1 year ago

As in https://github.com/beamer-bridge/beamer/issues/1375

Asks user for allowance before tracking. Decision is stored in Matomo cookie or localstorage.

@olympe-silve is the design fine like this? Screenshot from 2023-02-07 16-38-02

manuelwedler commented 1 year ago

No it is not. At the moment it would be necessary to have clicked it in both places. We would need to configure Matomo to store the decision in the same cookie if that is possible. The declining is stored in localstorage though. This definitely cannot be accessed across subdomains without a workaround. Probably it would be easier to just store the decision in our own cookie that can be shared across the subdomains.

The design was approved by Olympe btw.

GabrielBuragev commented 1 year ago

Exactly my thoughts 👍 . Feel free to close this & create another issue that will address this as the matomo popup is already merged to main on the other repo. We can do it in the following weeks.

manuelwedler commented 1 year ago

Sounds good, I'll do so!

manuelwedler commented 1 year ago

issue: https://github.com/beamer-bridge/beamer/issues/1466

olympe-silve commented 1 year ago

@manuelwedler The Accept / Decline text is hard to read in red on teal.

I would rather turn these into two buttons, styled like the "app" CTA we have on the website in the upper right corner (including the yellow on hover), see if that solves readability.