Skip to content

Anonymised user ID module added - #6705

Open
kyrylenko wants to merge 2 commits into
prebid:masterfrom
id-ward:ANON-8303-anonymised-id-system
Open

Anonymised user ID module added#6705
kyrylenko wants to merge 2 commits into
prebid:masterfrom
id-ward:ANON-8303-anonymised-id-system

Conversation

@kyrylenko

Copy link
Copy Markdown
Contributor

Adds one page, dev-docs/modules/userid-submodules/anonymised.md. No other files change — the EID source and module name are carried in the page's front matter, which the userid layout renders into the User ID table.

The submodule reads an identifier that the Anonymised Marketing Tag has already stored in localStorage on the publisher's domain, and passes it to the bid stream as an EID under the source anonymised.io. It makes no network request and loads no script.

Beyond the standard configuration table and example, the page documents four things publishers get wrong otherwise:

  • Do not configure storage. The Marketing Tag owns the identifier's lifecycle, including its removal on sign-out. A copy cached by Prebid.js would outlive that removal.
  • Do not set userSync.ppid to anonymised.io. The Marketing Tag sets the Google Ad Manager PPID itself; letting Prebid.js set it too produces two different PPIDs for the same user, because Prebid strips non-alphanumeric characters from the ID first.
  • Single-page applications should call pbjs.refreshUserIds({ submoduleNames: ['anonymisedId'] }) after a sign-in, and must pass submoduleNames so an unscoped refresh does not re-initialize every other ID submodule.
  • localStorage is origin-scoped, so a publisher serving one user from several subdomains gets the identifier on each only once the tag has run there.

🏷 Type of documentation

  • new feature

📋 Checklist

@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for prebid-docs-preview ready!

Name Link
🔨 Latest commit 09abdc7
🔍 Latest deploy log https://app.netlify.com/projects/prebid-docs-preview/deploys/6a7f1178a1655500086fc3e9
😎 Deploy Preview https://deploy-preview-6705--prebid-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant