Repository navigation
Honor privacy signals in the docs Cloud strip - #2678
Open
anuroop258 wants to merge 1 commit into
Open
anuroop258 wants to merge 1 commit into
anuroop258 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #2665. The docs Cloud strip now honors Global Privacy Control on
navigatorand skips anonymous-ID storage access when GPC or Do Not Track is enabled. The strip stays visible. This addresses the docs privacy portion of the issue.List of files changed and why
docs/md_v2/assets/cloud-strip.jschecks GPC before touching the tracking ID and describes both impression and click events.tests/unit/test_cloud_strip_privacy.cjsexercises the real script with mocked browser APIs. The Python wrapper makes it discoverable by pytest when Node.js is available.How Has This Been Tested?
git diff --checkpassed.AI assistance: OpenAI Codex reviewed and applied the supplied patch, integrated and ran the regression tests, and prepared this PR.