Changeset 2999805
- Timestamp:
- 11/21/2023 11:54:27 PM (2 years ago)
- Location:
- uniconsent-cmp
- Files:
-
- 6 edited
- 46 copied
-
tags/1.4.6 (copied) (copied from uniconsent-cmp/trunk)
-
tags/1.4.6/README.txt (copied) (copied from uniconsent-cmp/trunk/README.txt) (5 diffs)
-
tags/1.4.6/admin (copied) (copied from uniconsent-cmp/trunk/admin)
-
tags/1.4.6/admin/class-unic-admin-pages.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-admin-pages.php) (3 diffs)
-
tags/1.4.6/admin/class-unic-values.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-values.php)
-
tags/1.4.6/admin/index.php (copied) (copied from uniconsent-cmp/trunk/admin/index.php)
-
tags/1.4.6/admin/partials/unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/admin/partials/unic-cmp.php)
-
tags/1.4.6/composer.json (copied) (copied from uniconsent-cmp/trunk/composer.json) (1 diff)
-
tags/1.4.6/includes (copied) (copied from uniconsent-cmp/trunk/includes)
-
tags/1.4.6/includes/class-unic-activator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-activator.php)
-
tags/1.4.6/includes/class-unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-cmp.php) (1 diff)
-
tags/1.4.6/includes/class-unic-deactivator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-deactivator.php)
-
tags/1.4.6/includes/class-unic-i18n.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-i18n.php)
-
tags/1.4.6/includes/class-unic-loader.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-loader.php)
-
tags/1.4.6/includes/index.php (copied) (copied from uniconsent-cmp/trunk/includes/index.php)
-
tags/1.4.6/index.php (copied) (copied from uniconsent-cmp/trunk/index.php)
-
tags/1.4.6/languages (copied) (copied from uniconsent-cmp/trunk/languages)
-
tags/1.4.6/public (copied) (copied from uniconsent-cmp/trunk/public)
-
tags/1.4.6/public/class-unic-public.php (copied) (copied from uniconsent-cmp/trunk/public/class-unic-public.php) (1 diff)
-
tags/1.4.6/public/index.php (copied) (copied from uniconsent-cmp/trunk/public/index.php)
-
tags/1.4.6/public/js/unic.js (copied) (copied from uniconsent-cmp/trunk/public/js/unic.js)
-
tags/1.4.6/trunk (copied) (copied from uniconsent-cmp/trunk)
-
tags/1.4.6/trunk/README.txt (copied) (copied from uniconsent-cmp/trunk/README.txt) (5 diffs)
-
tags/1.4.6/trunk/admin (copied) (copied from uniconsent-cmp/trunk/admin)
-
tags/1.4.6/trunk/admin/class-unic-admin-pages.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-admin-pages.php) (3 diffs)
-
tags/1.4.6/trunk/admin/class-unic-values.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-values.php)
-
tags/1.4.6/trunk/admin/index.php (copied) (copied from uniconsent-cmp/trunk/admin/index.php)
-
tags/1.4.6/trunk/admin/partials/unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/admin/partials/unic-cmp.php)
-
tags/1.4.6/trunk/composer.json (copied) (copied from uniconsent-cmp/trunk/composer.json) (1 diff)
-
tags/1.4.6/trunk/includes (copied) (copied from uniconsent-cmp/trunk/includes)
-
tags/1.4.6/trunk/includes/class-unic-activator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-activator.php)
-
tags/1.4.6/trunk/includes/class-unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-cmp.php) (1 diff)
-
tags/1.4.6/trunk/includes/class-unic-deactivator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-deactivator.php)
-
tags/1.4.6/trunk/includes/class-unic-i18n.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-i18n.php)
-
tags/1.4.6/trunk/includes/class-unic-loader.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-loader.php)
-
tags/1.4.6/trunk/includes/index.php (copied) (copied from uniconsent-cmp/trunk/includes/index.php)
-
tags/1.4.6/trunk/index.php (copied) (copied from uniconsent-cmp/trunk/index.php)
-
tags/1.4.6/trunk/languages (copied) (copied from uniconsent-cmp/trunk/languages)
-
tags/1.4.6/trunk/public (copied) (copied from uniconsent-cmp/trunk/public)
-
tags/1.4.6/trunk/public/class-unic-public.php (copied) (copied from uniconsent-cmp/trunk/public/class-unic-public.php) (1 diff)
-
tags/1.4.6/trunk/public/index.php (copied) (copied from uniconsent-cmp/trunk/public/index.php)
-
tags/1.4.6/trunk/public/js/unic.js (copied) (copied from uniconsent-cmp/trunk/public/js/unic.js)
-
tags/1.4.6/trunk/uniconsent-cmp.php (copied) (copied from uniconsent-cmp/trunk/uniconsent-cmp.php) (2 diffs)
-
tags/1.4.6/trunk/uninstall.php (copied) (copied from uniconsent-cmp/trunk/uninstall.php)
-
tags/1.4.6/uniconsent-cmp.php (copied) (copied from uniconsent-cmp/trunk/uniconsent-cmp.php) (2 diffs)
-
tags/1.4.6/uninstall.php (copied) (copied from uniconsent-cmp/trunk/uninstall.php)
-
trunk/README.txt (modified) (5 diffs)
-
trunk/admin/class-unic-admin-pages.php (modified) (3 diffs)
-
trunk/composer.json (modified) (1 diff)
-
trunk/includes/class-unic-cmp.php (modified) (1 diff)
-
trunk/public/class-unic-public.php (modified) (1 diff)
-
trunk/uniconsent-cmp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uniconsent-cmp/tags/1.4.6/README.txt
r2976141 r2999805 1 1 === UniConsent CMP for IAB TCF GDPR GPP === 2 Version: 1.4. 52 Version: 1.4.6 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.4. 58 Stable tag: 1.4.6 9 9 10 10 == Description == … … 22 22 Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog). 23 23 24 Supported consent signals: EU IAB TCF 2. 0consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.24 Supported consent signals: EU IAB TCF 2.2 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc. 25 25 26 26 IAB Europe announced a technical standard to support the digital advertising ecosystem in meeting the [General Data Protection Regulation](https://www.uniconsent.com/gdpr) (GDPR), [CCPA Compliance](https://www.uniconsent.com/ccpa), [CPRA Compliance](https://www.uniconsent.com/cpra), [LGPD Compliance](https://www.uniconsent.com/lgpd), [PDRA Compliance](https://www.uniconsent.com/pdpa) consumer consent requirements. This provides an implementation of that framework. … … 34 34 UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager. 35 35 36 Support IAB TCF 1.1 and IAB TCF 2.0/2.1, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel.36 Support IAB TCF 2.2, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Amazon APS, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel. 37 37 38 38 You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP. … … 114 114 == Changelog == 115 115 116 = 1.4.6 = 117 * IAB TCF 2.2 support 118 116 119 = 1.4.5 = 117 120 * Security enhancement and fixes -
uniconsent-cmp/tags/1.4.6/admin/class-unic-admin-pages.php
r2976133 r2999805 255 255 <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option> 256 256 <option value="yes" <?php selected( $unic_enable_iab, 'yes' ); ?>><?php _e( 'IAB TCF 1.1', 'uniconsent' ); ?></option> 257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2. 0', 'uniconsent' ); ?></option>257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2.2', 'uniconsent' ); ?></option> 258 258 </select> 259 259 </td> … … 301 301 <h3>UniConsent for GDPR/CPRA Compliance</h3> 302 302 <ul> 303 <li><strong>Certified IAB EU TCF 2.0 CMP</strong> 304 <li><strong>Certified IAB Canada TCF CMP</strong> 303 <li><strong>Certified EU IAB TCF 2.2 CMP</strong> 304 <li><strong>Certified Canada IAB TCF CMP</strong> 305 <li><strong>Certified Google CMP</strong> 305 306 <li><strong>GPP, TCF, USP Consent signals</strong> 306 307 <li><strong>Fix errors in Google's report</strong> … … 312 313 <li><strong>One-tag Implementation</strong> 313 314 <li><strong>Use Custom Domain</strong> 314 <li><strong>Google GAM/ Adsense/AdXsupport</strong>315 <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong> 315 316 <li><strong>Prebid.js and Header bidding support</strong> 316 317 <li><strong>Cookie ePrivacy consent support</strong> -
uniconsent-cmp/tags/1.4.6/composer.json
r2976141 r2999805 1 1 { 2 2 "name": "transfon/uniconsent-cmp", 3 "version": "1.4. 5",4 "description": "UniConsent C ookie Consent Tool for GDPR and ePrivacy, Support Google DFP and IAB.",3 "version": "1.4.6", 4 "description": "UniConsent CMP for GDPR and ePrivacy, Certifeid by Google and IAB TCF.", 5 5 "type": "wordpress-plugin", 6 6 "authors": [ -
uniconsent-cmp/tags/1.4.6/includes/class-unic-cmp.php
r2976141 r2999805 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1.4. 5';22 $this->version = '1.4.6'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/tags/1.4.6/public/class-unic-public.php
r2976133 r2999805 127 127 $unic_stub_v2 = <<<UNIC 128 128 <script type="text/javascript"> 129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,5 );return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub",apiVersion:2};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}();130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,5 );return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}();131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gpp _addFrame,10,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68};if("addEventListener"===p){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}}if("removeEventListener"!==p)return"getGPPData"===p?{sectionId:3,gppVersion:1,sectionList:[],applicableSections:[0],gppString:"",pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}:"hasSection"===p||"getSection"===p||"getField"===p?null:void __gpp.queue.push([].slice.apply(e));for(var s=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==n){__gpp.events.splice(i,1),s=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:s,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var s=p.__gppCall;window.__gpp(s.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:s.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},"parameter"in s?s.parameter:null,"version"in s?s.version:1)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"));129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,50);return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}(); 130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,50);return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}(); 131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gppaddFrame,50,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],!e.length)return __gpp.queue;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",apiSupport:["tcfeuv2","tcfcav1","uspv1","uspnatv1","uspcav1","uspvav1","uspcov1","usputv1","uspctv1"],currentAPI:"",cmpId:68};if("addEventListener"===p){__gpp.events=__gpp.events||[],"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0}}if("removeEventListener"===p){var _=!1;__gpp.events=__gpp.events||[];for(var s=0;s<__gpp.events.length;s++)if(__gpp.events[s].id==n){__gpp.events[s].splice(s,1),_=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:_}}if("hasSection"===p||"getSection"===p||"getField"===p||"getGPPData"===p)return null;__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var _=p.__gppCall;window.__gpp(_.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:_.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},_.parameter)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator")); 132 132 </script> 133 133 UNIC; -
uniconsent-cmp/tags/1.4.6/trunk/README.txt
r2976141 r2999805 1 1 === UniConsent CMP for IAB TCF GDPR GPP === 2 Version: 1.4. 52 Version: 1.4.6 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.4. 58 Stable tag: 1.4.6 9 9 10 10 == Description == … … 22 22 Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog). 23 23 24 Supported consent signals: EU IAB TCF 2. 0consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.24 Supported consent signals: EU IAB TCF 2.2 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc. 25 25 26 26 IAB Europe announced a technical standard to support the digital advertising ecosystem in meeting the [General Data Protection Regulation](https://www.uniconsent.com/gdpr) (GDPR), [CCPA Compliance](https://www.uniconsent.com/ccpa), [CPRA Compliance](https://www.uniconsent.com/cpra), [LGPD Compliance](https://www.uniconsent.com/lgpd), [PDRA Compliance](https://www.uniconsent.com/pdpa) consumer consent requirements. This provides an implementation of that framework. … … 34 34 UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager. 35 35 36 Support IAB TCF 1.1 and IAB TCF 2.0/2.1, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel.36 Support IAB TCF 2.2, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Amazon APS, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel. 37 37 38 38 You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP. … … 114 114 == Changelog == 115 115 116 = 1.4.6 = 117 * IAB TCF 2.2 support 118 116 119 = 1.4.5 = 117 120 * Security enhancement and fixes -
uniconsent-cmp/tags/1.4.6/trunk/admin/class-unic-admin-pages.php
r2976133 r2999805 255 255 <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option> 256 256 <option value="yes" <?php selected( $unic_enable_iab, 'yes' ); ?>><?php _e( 'IAB TCF 1.1', 'uniconsent' ); ?></option> 257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2. 0', 'uniconsent' ); ?></option>257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2.2', 'uniconsent' ); ?></option> 258 258 </select> 259 259 </td> … … 301 301 <h3>UniConsent for GDPR/CPRA Compliance</h3> 302 302 <ul> 303 <li><strong>Certified IAB EU TCF 2.0 CMP</strong> 304 <li><strong>Certified IAB Canada TCF CMP</strong> 303 <li><strong>Certified EU IAB TCF 2.2 CMP</strong> 304 <li><strong>Certified Canada IAB TCF CMP</strong> 305 <li><strong>Certified Google CMP</strong> 305 306 <li><strong>GPP, TCF, USP Consent signals</strong> 306 307 <li><strong>Fix errors in Google's report</strong> … … 312 313 <li><strong>One-tag Implementation</strong> 313 314 <li><strong>Use Custom Domain</strong> 314 <li><strong>Google GAM/ Adsense/AdXsupport</strong>315 <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong> 315 316 <li><strong>Prebid.js and Header bidding support</strong> 316 317 <li><strong>Cookie ePrivacy consent support</strong> -
uniconsent-cmp/tags/1.4.6/trunk/composer.json
r2976141 r2999805 1 1 { 2 2 "name": "transfon/uniconsent-cmp", 3 "version": "1.4. 5",4 "description": "UniConsent C ookie Consent Tool for GDPR and ePrivacy, Support Google DFP and IAB.",3 "version": "1.4.6", 4 "description": "UniConsent CMP for GDPR and ePrivacy, Certifeid by Google and IAB TCF.", 5 5 "type": "wordpress-plugin", 6 6 "authors": [ -
uniconsent-cmp/tags/1.4.6/trunk/includes/class-unic-cmp.php
r2976141 r2999805 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1.4. 5';22 $this->version = '1.4.6'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/tags/1.4.6/trunk/public/class-unic-public.php
r2976133 r2999805 127 127 $unic_stub_v2 = <<<UNIC 128 128 <script type="text/javascript"> 129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,5 );return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub",apiVersion:2};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}();130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,5 );return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}();131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gpp _addFrame,10,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68};if("addEventListener"===p){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}}if("removeEventListener"!==p)return"getGPPData"===p?{sectionId:3,gppVersion:1,sectionList:[],applicableSections:[0],gppString:"",pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}:"hasSection"===p||"getSection"===p||"getField"===p?null:void __gpp.queue.push([].slice.apply(e));for(var s=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==n){__gpp.events.splice(i,1),s=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:s,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var s=p.__gppCall;window.__gpp(s.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:s.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},"parameter"in s?s.parameter:null,"version"in s?s.version:1)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"));129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,50);return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}(); 130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,50);return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}(); 131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gppaddFrame,50,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],!e.length)return __gpp.queue;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",apiSupport:["tcfeuv2","tcfcav1","uspv1","uspnatv1","uspcav1","uspvav1","uspcov1","usputv1","uspctv1"],currentAPI:"",cmpId:68};if("addEventListener"===p){__gpp.events=__gpp.events||[],"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0}}if("removeEventListener"===p){var _=!1;__gpp.events=__gpp.events||[];for(var s=0;s<__gpp.events.length;s++)if(__gpp.events[s].id==n){__gpp.events[s].splice(s,1),_=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:_}}if("hasSection"===p||"getSection"===p||"getField"===p||"getGPPData"===p)return null;__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var _=p.__gppCall;window.__gpp(_.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:_.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},_.parameter)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator")); 132 132 </script> 133 133 UNIC; -
uniconsent-cmp/tags/1.4.6/trunk/uniconsent-cmp.php
r2976141 r2999805 4 4 * Plugin Name: UniConsent CMP for IAB TCF GDPR GPP 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 * Description: UniConsent CMP implements the IAB TCF 2. 0/2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.jsand increase advertising revenue.7 * Version: 1.4. 56 * Description: UniConsent CMP implements the IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.4.6 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1.4. 5' );17 define( 'UNIC_CMP_VERSION', '1.4.6' ); 18 18 19 19 function activate_unic_cmp() { -
uniconsent-cmp/tags/1.4.6/uniconsent-cmp.php
r2976141 r2999805 4 4 * Plugin Name: UniConsent CMP for IAB TCF GDPR GPP 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 * Description: UniConsent CMP implements the IAB TCF 2. 0/2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.jsand increase advertising revenue.7 * Version: 1.4. 56 * Description: UniConsent CMP implements the IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.4.6 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1.4. 5' );17 define( 'UNIC_CMP_VERSION', '1.4.6' ); 18 18 19 19 function activate_unic_cmp() { -
uniconsent-cmp/trunk/README.txt
r2976141 r2999805 1 1 === UniConsent CMP for IAB TCF GDPR GPP === 2 Version: 1.4. 52 Version: 1.4.6 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1.4. 58 Stable tag: 1.4.6 9 9 10 10 == Description == … … 22 22 Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog). 23 23 24 Supported consent signals: EU IAB TCF 2. 0consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.24 Supported consent signals: EU IAB TCF 2.2 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc. 25 25 26 26 IAB Europe announced a technical standard to support the digital advertising ecosystem in meeting the [General Data Protection Regulation](https://www.uniconsent.com/gdpr) (GDPR), [CCPA Compliance](https://www.uniconsent.com/ccpa), [CPRA Compliance](https://www.uniconsent.com/cpra), [LGPD Compliance](https://www.uniconsent.com/lgpd), [PDRA Compliance](https://www.uniconsent.com/pdpa) consumer consent requirements. This provides an implementation of that framework. … … 34 34 UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager. 35 35 36 Support IAB TCF 1.1 and IAB TCF 2.0/2.1, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel.36 Support IAB TCF 2.2, Google Ad Manager, Google AdX, Google Adsense, Prebid.js Header Bidding, Amazon APS, Custom Vendors, Facebook Pixel, Google Adwords, Linkedin Pixel. 37 37 38 38 You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP. … … 114 114 == Changelog == 115 115 116 = 1.4.6 = 117 * IAB TCF 2.2 support 118 116 119 = 1.4.5 = 117 120 * Security enhancement and fixes -
uniconsent-cmp/trunk/admin/class-unic-admin-pages.php
r2976133 r2999805 255 255 <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option> 256 256 <option value="yes" <?php selected( $unic_enable_iab, 'yes' ); ?>><?php _e( 'IAB TCF 1.1', 'uniconsent' ); ?></option> 257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2. 0', 'uniconsent' ); ?></option>257 <option value="v2" <?php selected( $unic_enable_iab, 'v2' ); ?>><?php _e( 'IAB TCF 2.2', 'uniconsent' ); ?></option> 258 258 </select> 259 259 </td> … … 301 301 <h3>UniConsent for GDPR/CPRA Compliance</h3> 302 302 <ul> 303 <li><strong>Certified IAB EU TCF 2.0 CMP</strong> 304 <li><strong>Certified IAB Canada TCF CMP</strong> 303 <li><strong>Certified EU IAB TCF 2.2 CMP</strong> 304 <li><strong>Certified Canada IAB TCF CMP</strong> 305 <li><strong>Certified Google CMP</strong> 305 306 <li><strong>GPP, TCF, USP Consent signals</strong> 306 307 <li><strong>Fix errors in Google's report</strong> … … 312 313 <li><strong>One-tag Implementation</strong> 313 314 <li><strong>Use Custom Domain</strong> 314 <li><strong>Google GAM/ Adsense/AdXsupport</strong>315 <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong> 315 316 <li><strong>Prebid.js and Header bidding support</strong> 316 317 <li><strong>Cookie ePrivacy consent support</strong> -
uniconsent-cmp/trunk/composer.json
r2976141 r2999805 1 1 { 2 2 "name": "transfon/uniconsent-cmp", 3 "version": "1.4. 5",4 "description": "UniConsent C ookie Consent Tool for GDPR and ePrivacy, Support Google DFP and IAB.",3 "version": "1.4.6", 4 "description": "UniConsent CMP for GDPR and ePrivacy, Certifeid by Google and IAB TCF.", 5 5 "type": "wordpress-plugin", 6 6 "authors": [ -
uniconsent-cmp/trunk/includes/class-unic-cmp.php
r2976141 r2999805 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1.4. 5';22 $this->version = '1.4.6'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/trunk/public/class-unic-public.php
r2976133 r2999805 127 127 $unic_stub_v2 = <<<UNIC 128 128 <script type="text/javascript"> 129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,5 );return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub",apiVersion:2};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}();130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,5 );return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}();131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gpp _addFrame,10,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68};if("addEventListener"===p){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}}if("removeEventListener"!==p)return"getGPPData"===p?{sectionId:3,gppVersion:1,sectionList:[],applicableSections:[0],gppString:"",pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}:"hasSection"===p||"getSection"===p||"getField"===p?null:void __gpp.queue.push([].slice.apply(e));for(var s=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==n){__gpp.events.splice(i,1),s=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:s,pingData:{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",supportedAPIs:["tcfeuv2","tcfcav1","uspv1"],cmpId:68}}},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var s=p.__gppCall;window.__gpp(s.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:s.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},"parameter"in s?s.parameter:null,"version"in s?s.version:1)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator"));129 !function(){var i,r,o;i="__tcfapiLocator",r=[],(o=window.frames[i])||(function e(){var t=window.document,a=!!o;if(!a)if(t.body){var n=t.createElement("iframe");n.style.cssText="display:none",n.name=i,t.body.appendChild(n)}else setTimeout(e,50);return!a}(),window.__tcfapi=function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];if(!t.length)return r;if("setGdprApplies"===t[0])3<t.length&&2===parseInt(t[1],10)&&"boolean"==typeof t[3]&&(e=t[3],"function"==typeof t[2]&&t[2]("set",!0));else if("ping"===t[0]){var n={gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"};"function"==typeof t[2]&&t[2](n,!0)}else r.push(t)},window.addEventListener("message",function(n){var i="string"==typeof n.data,e={};try{e=i?JSON.parse(n.data):n.data}catch(e){}var r=e.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,function(e,t){var a={__tcfapiReturn:{returnValue:e,success:t,callId:r.callId}};i&&(a=JSON.stringify(a)),n.source.postMessage(a,"*")},r.parameter)},!1))}(); 130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,50);return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}(); 131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var p=document.createElement("iframe");p.style.cssText="display:none",p.name=e,document.body.appendChild(p)}else window.setTimeout(window.__gppaddFrame,50,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],!e.length)return __gpp.queue;var p=e[0],t=1<e.length?e[1]:null,n=2<e.length?e[2]:null;if("ping"===p)return{gppVersion:"1.0",cmpStatus:"stub",cmpDisplayStatus:"hidden",apiSupport:["tcfeuv2","tcfcav1","uspv1","uspnatv1","uspcav1","uspvav1","uspcov1","usputv1","uspctv1"],currentAPI:"",cmpId:68};if("addEventListener"===p){__gpp.events=__gpp.events||[],"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var a=__gpp.lastId;return __gpp.events.push({id:a,callback:t,parameter:n}),{eventName:"listenerRegistered",listenerId:a,data:!0}}if("removeEventListener"===p){var _=!1;__gpp.events=__gpp.events||[];for(var s=0;s<__gpp.events.length;s++)if(__gpp.events[s].id==n){__gpp.events[s].splice(s,1),_=!0;break}return{eventName:"listenerRemoved",listenerId:n,data:_}}if("hasSection"===p||"getSection"===p||"getField"===p||"getGPPData"===p)return null;__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(n){var a="string"==typeof n.data;try{var p=a?JSON.parse(n.data):n.data}catch(e){p=null}if("object"==typeof p&&null!==p&&"__gppCall"in p){var _=p.__gppCall;window.__gpp(_.command,function(e,p){var t={__gppReturn:{returnValue:e,success:p,callId:_.callId}};n.source.postMessage(a?JSON.stringify(t):t,"*")},_.parameter)}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator")); 132 132 </script> 133 133 UNIC; -
uniconsent-cmp/trunk/uniconsent-cmp.php
r2976141 r2999805 4 4 * Plugin Name: UniConsent CMP for IAB TCF GDPR GPP 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 * Description: UniConsent CMP implements the IAB TCF 2. 0/2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.jsand increase advertising revenue.7 * Version: 1.4. 56 * Description: UniConsent CMP implements the IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.4.6 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1.4. 5' );17 define( 'UNIC_CMP_VERSION', '1.4.6' ); 18 18 19 19 function activate_unic_cmp() {
Note: See TracChangeset
for help on using the changeset viewer.