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 OptanonConsent columns #61

Closed
katehausladen opened this issue Jul 25, 2023 · 4 comments
Closed

Add OptanonConsent columns #61

katehausladen opened this issue Jul 25, 2023 · 4 comments
Assignees

Comments

@katehausladen
Copy link
Collaborator

As discussed in our meeting, I am adding columns for the isGpcEnabled string in One-Trust's OptanonConsent cookie before and after GPC is sent.

@katehausladen katehausladen self-assigned this Jul 25, 2023
katehausladen added a commit that referenced this issue Jul 25, 2023
I also took out the cookies listeners and made the way we store/add data to our db a lot simpler
@katehausladen
Copy link
Collaborator Author

I added the columns. The new command to make the database is

CREATE TABLE entries (id INTEGER PRIMARY KEY AUTO_INCREMENT, site_id INTEGER, domain varchar(255), dns_link BOOLEAN, sent_gpc BOOLEAN, uspapi_before_gpc varchar(255), uspapi_after_gpc varchar(255), usp_cookies_before_gpc varchar(255), usp_cookies_after_gpc varchar(255), OptanonConsent_before_gpc varchar(800), OptanonConsent_after_gpc varchar(800));

The potential values for these columns are:

  • null (if the OptanonConsent cookie doesn't exist)
  • isGpcEnabled=1 (if GPC is on according to the cookie's value)
  • isGpcEnabled-0 (if GPC is off according to the cookie's value)
  • no_gpc (if the cookie is found, but there is no isGpcEnabled string in the cookie's value)
@SebastianZimmeck
Copy link
Member

Thanks, @katehausladen. Do we need to update the Wiki accordingly?

@katehausladen
Copy link
Collaborator Author

Yes, I'll get to that tomorrow.

@katehausladen
Copy link
Collaborator Author

web-crawler-architecture.pptx
updated architecture powerpoint

OliverWang13 added a commit that referenced this issue Jul 27, 2023
OliverWang13 added a commit that referenced this issue Jul 27, 2023
adding OptanonConsent columns (issue #61)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants