The transmission mode to be used.

Enumeration Members

HTTP_HEADER: 0

Transmit CMCD data as a custom HTTP request header.

Remarks

Usage of a custom header from a web browser user-agent will trigger a preflight OPTIONS request before each unique media object request. This will lead to an increased request rate against the server. As a result, for CMCD transmissions from web browser user-agents that require CORS-preflighting per URL, the preferred mode of use is query arguments.

JSON_OBJECT: 2

Transmit CMCD data as a JSON object independent of the HTTP object request.

QUERY_ARGUMENT: 1

Transmit CMCD data as a HTTP query argument.

Generated using TypeDoc