Revcontent has made changes to our API to support additional parameters regarding GDPR consent. Our API will now support two additional, optional parameters.

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); rcel.id = 'rc_' + Math.floor(Math.random() * 1000); rcel.type = 'text/javascript'; rcel.src ="//trends.revcontent.com/serve.js.php?uitm=1&w=<WIDGET_ID>&t=" + rcel.id + "&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

http://trends.revcontent.com/api/v1/?api_key=&pub_id=&widget_id=&domain=&format=json&sponsored_count=25&gdpr_consent=&gdpr=1 

Did this answer your question?