MDN self-hosted library · e01.org

Observe-Browsing-Topics header

The HTTP Observe-Browsing-Topics response header is used to mark topics of interest inferred from a calling site's URL (i.e., the site where the ad tech iframe is embedded) as observed in the response to a request generated by a feature that enables the Topics API.

no runnable cells http-header upstream source

[!WARNING] This feature is currently opposed by two browser vendors. See the Standards positions section for details of opposition.

The HTTP Observe-Browsing-Topics response header is used to mark topics of interest inferred from a calling site's URL (i.e., the site where the ad tech iframe is embedded) as observed in the response to a request generated by a feature that enables the Topics API. The browser will subsequently use those topics to calculate top topics for the current user for future epochs.

Header type Response header

Syntax

Observe-Browsing-Topics: ?1

Directives

  • ?1
  • : A character sequence declaring that topics of interest inferred from a calling site's URL (i.e., the site where the ad tech <iframe> is embedded) are marked as observed. The browser will subsequently use those topics to calculate topics of interest for a user for future epochs.

Specifications

This feature is not part of an official standard, although it is specified in the Topics API Unofficial Proposal Draft.

Browser compatibility

See also