Skip to content

Add logic for respecting browser DNT setting

Jeremy Jackson requested to merge respect-user-do-not-track into master

What does this MR do?

It adjusts the tracking logic to respect the browser Do Not Track setting so it can be utilized in enabling or disabling of certain behaviors based on what a user has configured it to. The trackable static method allows asking purely this question, and the enabled static method utilizes it to determine if tracking is enabled at both an admin level, and user level.

Documentation updates are over in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32117

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by Jeremy Jackson

Merge request reports