In May we shared our plans to ship the Privacy Sandbox relevance and measurement APIs in Chrome 115. That moment is now here, so with Chrome 115 going to Stable, we are beginning the process of gradually enabling the APIs in the next few days.
In this post, we’ll cover the multiple components of this launch, including:
- What’s shipping: The launch process for the relevance and measurement APIs: Topics, Protected Audience, Attribution Reporting, Private Aggregation, Shared Storage, and Fenced Frames.
- Gradually enabling the APIs: APIs will be gradually enabled over the course of the 115 milestone while monitoring for issues, aiming for 99% availability by mid-August.
- Ending the unified origin trial: The Privacy Sandbox Relevance and Measurement origin trial ends on September 20, 2023 providing overlap with the transition to general availability.
- Updated user controls: Users will have «Ad privacy» controls to manage the APIs.
- Enrollment: There’s an updated enrollment process which is mandatory for developers using the relevance and measurement APIs.
- Chrome-facilitated testing modes: Updated details on the options for developers to test the APIs without third-party cookie data.
What’s shipping
In the previous post, we introduced the list of relevance and measurement APIs that are launching in Chrome 115. As part of the usual process, we’ve sent an «Intent to Ship» (I2S) message to the blink-dev mailing list for each feature. The I2S messages include details of the specific API functionality for the 115 release, engineering discussions on the proposals, and importantly, the approvals (or LGTMs) from the Blink API owners to ship the feature.
You can check out the I2S messages for Attribution Reporting API, Protected Audience, Topics API, Private Aggregation API, Shared Storage API, and Fenced Frames.
Alongside the web platform APIs, the Aggregation Service for Attribution Reporting and Private Aggregation is also moving to general availability. Additionally, we’re in the process of gradually enabling First-Party Sets (I2S), Private State Tokens (I2S), and will be shipping Storage Partitioning (I2S).
Gradually enabling APIs
As with some previous Privacy Sandbox features, we’ll gradually enable the relevance and measurement APIs for an increasing percentage of browser instances to make sure that we can monitor and respond to any potential issues. Our aim is to start this process a few days after the 115 Stable date of July 18, 2023, most likely the week of July 24. Then we intend to ramp up to enabling the APIs for approximately 35% of browsers over about a week. Similar to the unified origin trial, this ramp-up will include a main group with all APIs enabled and several smaller isolated groups with a subset of APIs enabled. These isolated groups provide a quicker route for identifying potential issues with the APIs.
Users need to relaunch Chrome before version updates or incremental API updates take effect, meaning it always takes additional time for the ramp up to reach the target levels. All percentages shown are approximate and developers should expect fluctuations in this period as we may adjust levels to respond to issues. Overall percentages of Chrome browsers may also not map to the same percentage of an individual site’s traffic, so you should only use this as indicative of expected traffic.
We then intend to increase availability to approximately 60% of browsers at the start of August. This will still include the experimental groups, so you may see different levels of availability for different APIs. All being well, we will make a final increase to approximately 99% of browsers by mid-August, around the 116 Stable release. At this point we will also merge the individual experiment groups, maintaining only small, isolated groups without every API enabled to aid with any potential issue detection. We will hold at this level to continue monitoring and begin preparation for the Chrome-facilitated testing modes.
This timeline is subject to alterations depending on the results of monitoring along the way. As always, we will update the documentation here as well as posting updates to the blink-dev threads as we progress through each stage.
Enrollment
To access the Privacy Sandbox relevance and measurement APIs on Chrome and Android, developers will need to complete the enrollment and attestation process. This will soon become a mandatory requirement for accessing the APIs, so we recommend you start the process as soon as possible.
For local testing, we are providing developer overrides from Chrome 116 with a Chrome flag and CLI switch:
- Flag:
chrome://flags/#privacy-sandbox-enrollment-overrides
- CLI:
--privacy-sandbox-enrollment-overrides=https://example.com,https://example.co.uk,...
Ending the unified origin trial
The Privacy Sandbox Relevance and Measurement origin trial allows sites to run unified experiments across the relevance and measurement APIs. We are starting the API ramp up with the same groups that are enabled in the origin trial to provide continuity in existing data. The tokens and the origin trial remain valid until September 20th, 2023 but by the end of July it will no longer be necessary to provide them. We will also start removing the origin trial token requirement for pre-Stable channels (Beta, Canary, etc.) this week as we begin to ramp up the overall traffic. However, you should ensure you enroll for the APIs before the expiration date to ensure a seamless transition. We’ll update our documentation with additional guidance and instructions as we reach the end of the origin trial.
Updated user controls
We are gradually rolling out the updated Ad privacy controls which replace the trial version of the Privacy Sandbox controls. We’re enabling the new UX on a similar timeline to the APIs, aiming to be complete by mid-August.
Developers can enable the new settings for testing by enabling the flag at chrome://flags/#privacy-sandbox-settings-4
. The following table includes the relevant Chrome settings and the APIs they control:
Chrome settings | Settings location | Privacy Sandbox API |
---|---|---|
Ad topics |
chrome://settings/adPrivacy/interests |
Topics |
Site-suggested ads |
chrome://settings/adPrivacy/sites |
Protected Audience |
Ad measurement |
chrome://settings/adPrivacy/measurement |
Attribution Reporting |
Chrome-facilitated testing modes
We previously provided the initial information on the Chrome-facilitated testing modes and we have also been working on your feedback provided on the developer support GitHub repo. We are looking to share further technical details in mid-August. From there, we will also host office hours sessions for developers along with continuing to work on the testing mode issues in GitHub.
You can provide your feedback on the following issues:
- Are you planning to test using Mode A, Mode B, or both?
- Picking label sizes for Chrome-facilitated testing
- Use of Client Hints for Chrome-facilitated testing
Or you can also raise a new issue for additional questions or discussion.
The Competition and Markets Authority (CMA) has published their guidance on testing Privacy Sandbox APIs with relevant information on timelines, approaches to testing, and next steps.
Shipping these APIs is another key milestone in the ongoing Privacy Sandbox timeline. This marks the beginning of the transition from sites testing in the origin trial to integrating these APIs in production. We will be keeping you updated as we progress through enabling the APIs, to the opt-in testing with labels in Q4 2023, the 1% third-party cookie deprecation in Q1 2024, heading towards the full third-party cookie phaseout in Q3 2024. We will continue working closely with the CMA, as per our commitments, before taking further steps to expand deprecation.
This post is also available in: English