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

Add Google Analytics, now GDPR-compliant #54

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

inaki-amatria
Copy link
Contributor

@inaki-amatria inaki-amatria commented Dec 9, 2024

This pull request introduces Google Analytics integration to the Open Catalog. To ensure compliance with privacy standards, a Cookie Consent Banner is displayed first, requesting the user's permission before tracking any data.

Screenshot From 2025-01-20 10-40-33
Screenshot From 2025-01-20 10-40-44
Screenshot From 2025-01-20 10-41-17

@inaki-amatria inaki-amatria requested review from daniel-otero and a team December 9, 2024 18:20
@inaki-amatria inaki-amatria self-assigned this Dec 9, 2024
@inaki-amatria inaki-amatria requested review from d-alonso and removed request for a team December 9, 2024 18:20
Copy link
Collaborator

@alvrogd alvrogd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, the banner should provide a link to the cookie policy (see Section 3.1.2.2, Page 21).

@inaki-amatria inaki-amatria marked this pull request as draft December 10, 2024 09:54
@inaki-amatria inaki-amatria force-pushed the feature/AddGoogleAnalytics branch from ac916a4 to 8ae8006 Compare December 10, 2024 10:00
@inaki-amatria inaki-amatria changed the title Add Google Analytics support Add Google Analytics Dec 10, 2024
Copy link
Contributor

@daniel-otero daniel-otero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I miss a link to the privacy policy and a way to:

Make it as easy for users to withdraw their consent as it was for them to give their consent in the first place.

Otherwise, looks great!

Comment on lines 37 to 38
We only use cookies for analytics to enhance your experience and improve
our site. Is that okay with you?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention that is Google Analytics? Seems more transparent that way.

>
<h3 style={{ color: 'var(--cookie-consent-banner-heading-color)' }}>🍪 We use cookies!</h3>
<p>
We only use cookies for analytics to enhance your experience and improve
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we use "Strictly necessary", not just for analytics (to store that the analytics response was "decline").

@inaki-amatria inaki-amatria force-pushed the feature/AddGoogleAnalytics branch from 8ae8006 to e33c52f Compare January 20, 2025 11:21
@inaki-amatria inaki-amatria changed the title Add Google Analytics Add Google Analytics, now GDPR-compliant Jan 20, 2025
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

Successfully merging this pull request may close these issues.

3 participants