Admin access or Domain access to property (property group) with feature access to message/scenario partition set management

The OTT/CTV message JavaScript code is a snippet that is added to a property and allows an end-user to resurface a OTT/CTV message. Using this link/button, end-users can directly manage their consent preferences on an ongoing basis. 


Create OTT/CTV message JavaScript code

Click Messages on the left-hand panel and select a regulatory regime (GDPR Messages or CCPA Messages)

Click OTT/CTV from either subsequent menu.

Screen_Shot_2021-10-26_at_3.44.52_PM.png

Use the property field in the upper right-hand corner to select a property for which you will resurface an OTT/CTV message.

Screen_Shot_2021-10-26_at_3.47.08_PM.png

Locate the ID for a OTT/CTV message on the subsequent list. 

Screen_Shot_2021-10-26_at_4.31.35_PM.png

The OTT/CTV messageJavaScript code uses a loadPrivacyManagerModalOtt function to pass the specific OTT/CTV message ID.

The format of the JavaScript code depends on the regulatory framework to which the OTT/CTV message belongs. Please see the table below for the appropriate formatting:

GDPR TCF CCPA
window._sp_.gdpr.loadPrivacyManagerOtt(GDPR_OTT_ID)

Implement OTT/CTV message JavaScript code

Attach the OTT/CTV message JavaScript code to an event handler on your OTT/CTV property. Most organizations who implement the JavaScript code will attach the function to the onclick event of an element.

GDPR TCF CCPA
<button onclick="window._sp_.gdpr.loadPrivacyManagerOtt(123456)">OTT/CTV GDPR</button>
<a href="javascript:window.sp_.gdpr.loadPrivacyManagerModal(123456);">OTT/CTV GDPR</a>
Was this article helpful?
0 out of 0 found this helpful