 In the past, third-party cookies and other mechanisms have been used to track user browsing behavior across sites to infer topics of interest. These mechanisms are being faced out as part of the Privacy Sandbox Initiative. The Topics API allows a browser to share information with third parties about a user's interests while preserving privacy. The Topics API enables interest-based advertising without tracking the sites a user visits. The browser observes and records topics that appear to be of interest to the user based on their browsing activity. This information is recorded on the user's device. For example, the API might suggest the topic fiber and textile arts for a user who visits the website needing.example.