GDPR API Updates

Revcontent has made changes to our API to support additional parameters regarding GDPR consent. Our API will now support two additional, optional parameters.
Property Type Default Description
gdpr_consent string <base64encoded-consent> GDPR Consent String. gdpr_consent is IAB standard URL-safe base64 encoded value.
gdpr integer <1 or 0> Response determining if GDPR is applicable.
Standard Widgets

<div id="rcjsload_2ff711"></div> <script type="text/javascript"> (function() { var rcel = document.createElement("script"); var referer="";try{if(referer=document.referrer,"undefined"==typeof referer)throw"undefined"}catch(exception){referer=document.location.href,(""==referer||"undefined"==typeof referer)&&(referer=document.URL)}referer=referer.substr(0,700); = 'rc_' + Math.floor(Math.random() * 1000); rcel.type = 'text/javascript'; rcel.src ="//<WIDGET_ID>&t=" + + "&c=" + (new Date()).getTime() + "&width=" + (window.outerWidth || document.documentElement.clientWidth)+ "&referer="+referer + "&gdpr_consent=<GDPR_CONSENT>&gdpr=1"; rcel.async = true; var rcds = document.getElementById("rcjsload_2ff711"); rcds.appendChild(rcel); })(); </script> </div>
API Widgets