Browser-based applications rely on third-party cookies to be addressable by programmatic platforms, and cookie synchronization allows Triton Digital to access such cookies. It is the responsibility of the requesting application to ensure the browser has called the cookie synchronization functions.
A script inserted into the player page calls a number of 1x1 GIF tags ("pixels") that are inserted into the browser pane containing the player. Each tag brings the browser to an advertising partner’s sync service that redirects immediately back to Triton Digital (i.e., returns a 302 Found HTTP response). In the redirect URL to Triton Digital, the partner inserts the user ID it assigned to the browser making the call. Triton Digital then returns a pixel (transparent 1x1 GIF) and writes a Triton cookie containing the partner’s user ID.
Debido a que ahora la plataforma de anuncios de Triton conoce la ID de usuario del socio, puede enviar solicitudes de anuncios con dicha ID de usuario, lo cual permite la publicidad dirigida desde el servicio de anuncios del socio.
Cómo integrar la sincronización de cookies al reproductor
Los píxeles de sincronización de cookies están envueltos en un JavaScript que debe estar en la misma página o ventana (o "panel") que el reproductor. Si utiliza un reproductor emergente, el script debe estar en el panel emergente, no en la página del navegador de origen.
Para cargar el script de sincronización de cookies, inserte la siguiente etiqueta HTML en la ventana del reproductor:
<script type="text/javascript" src="https://playerservices.live.streamtheworld.com/api/idsync.js?stationId=<placementID>[&gdpr=<gdpr flag>&gdpr_consent=<TC string>&us_privacy=<US privacy string>]"></script>
| Parámetro | Descripción | Valor |
|---|---|---|
stationId | ID of the placement. This parameter is required. | Valor entero |
gdpr | Flag indicating if General Data Protection Regulation (GDPR) regulations apply. GDPR was established by the European Parliament and the Council of the European Union. | 0 = GDPR does not apply 1 = GDPR applies |
gdpr_consent | GDPR transparency and consent string encapsulating relevant details about how transparency and consent was established. The string must comply with the IAB Transparency and Consent Framework specifications. | Secuencia de consentimiento GDPR con codificación base64 y URL seguro. |
us_privacy | U.S. Privacy String that signals whether or not the U.S. Privacy Regulations apply to the consumer, if an “explicit notice” legal disclosure has been established with a consumer, and if the consumer has chosen to opt out of the sale of their personal data. Version 1 only supports signals pertaining to the California Consumer Privacy Act (CCPA). The string must comply with the U.S. Privacy String format. | Secuencia |
Para obtener más información sobre cómo transmitir cookies con solicitudes XML entre sitios, consulte:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Requests_with_credentials