Share data amongst a small group of sites
Publishers often need to share data across multiple sites to power seamless user experiences, such as:
- Content recommendations: Providing personalized content recommendations across related sites.
- Single sign-on: Enabling users to sign in once and access multiple affiliated sites.
- Synchronized user preferences: Maintaining consistent user preferences across related platforms.
These use cases can be achieved using Related Website Sets in combination with Storage Access API.
Privacy-preserving solutions
The Privacy Sandbox offers APIs that enable data sharing across a limited group of affiliated sites while preventing unwanted tracking and data leakage.
Benefit | Technology | Description |
---|---|---|
Allows a small group of affiliated sites to declare themselves as related | Related Website Sets |
When used with the Storage Access API, Related Website Sets helps publishers create a cohesive user experience across their network of sites while limiting the scope of data sharing to protect user privacy. You can use Related Website Sets for things like maintaining login across related websites and monitoring multiple related sites performance. |
Enables cross-site information sharing, but only when users interact with a site and grant permission. Prevents unwanted tracking while allowing functionalities like single sign-on solutions. |
Storage Access API |
The Storage Access API provides a privacy-preserving way to share information across sites when necessary, such as for user logins or personalized content recommendations, while ensuring user consent and control. You can use the Storage Access API for things like maintaining sessions across sites for embedded content (for example, comment tools, dashboards, maps, and videos). |
Using Related Website Sets with the Storage Access API
When used together, Related Website Sets and Storage Access provide a powerful solution for data sharing within a group of sites. For sites in the same Related Website Set, prompt permissions are relaxed, and access is shared automatically, enabling seamless user experiences. Publishers can use this combination to manage functionalities like:
- Sign-in: Enable users to sign in once and access all related sites.
- Embedded service login: Allow users to log in to embedded services across related sites.
- Customized product or content recommendations: Provide personalized recommendations across affiliated platforms.