Plugin Directory

Changeset 2999805


Ignore:
Timestamp:
11/21/2023 11:54:27 PM (2 years ago)
Author:
uniconsent
Message:

Version 1.4.6.

Location:
uniconsent-cmp
Files:
6 edited
46 copied

Legend:

Unmodified
Added
Removed
  • uniconsent-cmp/tags/1.4.6/README.txt

    r2976141 r2999805  
    11=== UniConsent CMP for IAB TCF GDPR GPP ===
    2 Version: 1.4.5
     2Version: 1.4.6
    33Contributors: uniconsent
    44Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp
     
    66Tested up to: 6.3
    77Requires PHP: 7.4
    8 Stable tag: 1.4.5
     8Stable tag: 1.4.6
    99
    1010== Description ==
     
    2222Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog).
    2323
    24 Supported consent signals: EU IAB TCF 2.0 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.
     24Supported 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.
    2525
    2626IAB 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.
     
    3434UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager.
    3535
    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.
     36Support 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.
    3737
    3838You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP.
     
    114114== Changelog ==
    115115
     116= 1.4.6 =
     117* IAB TCF 2.2 support
     118
    116119= 1.4.5 =
    117120* Security enhancement and fixes
  • uniconsent-cmp/tags/1.4.6/admin/class-unic-admin-pages.php

    r2976133 r2999805  
    255255                                <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option>
    256256                                <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>
    258258                            </select>
    259259                        </td>
     
    301301                        <h3>UniConsent for GDPR/CPRA Compliance</h3>
    302302                        <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>
    305306                            <li><strong>GPP, TCF, USP Consent signals</strong>
    306307                            <li><strong>Fix errors in Google's report</strong>
     
    312313                            <li><strong>One-tag Implementation</strong>
    313314                            <li><strong>Use Custom Domain</strong>
    314                             <li><strong>Google GAM/Adsense/AdX support</strong>
     315                            <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong>
    315316                            <li><strong>Prebid.js and Header bidding support</strong>
    316317                            <li><strong>Cookie ePrivacy consent support</strong>
  • uniconsent-cmp/tags/1.4.6/composer.json

    r2976141 r2999805  
    11{
    22    "name": "transfon/uniconsent-cmp",
    3     "version": "1.4.5",
    4     "description": "UniConsent Cookie 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.",
    55    "type": "wordpress-plugin",
    66    "authors": [
  • uniconsent-cmp/tags/1.4.6/includes/class-unic-cmp.php

    r2976141 r2999805  
    2020            $this->version = UNIC_VERSION;
    2121        } else {
    22             $this->version = '1.4.5';
     22            $this->version = '1.4.6';
    2323        }
    2424        $this->plugin_name = 'uniconsent-cmp';
  • uniconsent-cmp/tags/1.4.6/public/class-unic-public.php

    r2976133 r2999805  
    127127$unic_stub_v2 = <<<UNIC
    128128<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))}();
     131window.__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"));
    132132</script>
    133133UNIC;
  • uniconsent-cmp/tags/1.4.6/trunk/README.txt

    r2976141 r2999805  
    11=== UniConsent CMP for IAB TCF GDPR GPP ===
    2 Version: 1.4.5
     2Version: 1.4.6
    33Contributors: uniconsent
    44Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp
     
    66Tested up to: 6.3
    77Requires PHP: 7.4
    8 Stable tag: 1.4.5
     8Stable tag: 1.4.6
    99
    1010== Description ==
     
    2222Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog).
    2323
    24 Supported consent signals: EU IAB TCF 2.0 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.
     24Supported 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.
    2525
    2626IAB 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.
     
    3434UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager.
    3535
    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.
     36Support 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.
    3737
    3838You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP.
     
    114114== Changelog ==
    115115
     116= 1.4.6 =
     117* IAB TCF 2.2 support
     118
    116119= 1.4.5 =
    117120* Security enhancement and fixes
  • uniconsent-cmp/tags/1.4.6/trunk/admin/class-unic-admin-pages.php

    r2976133 r2999805  
    255255                                <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option>
    256256                                <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>
    258258                            </select>
    259259                        </td>
     
    301301                        <h3>UniConsent for GDPR/CPRA Compliance</h3>
    302302                        <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>
    305306                            <li><strong>GPP, TCF, USP Consent signals</strong>
    306307                            <li><strong>Fix errors in Google's report</strong>
     
    312313                            <li><strong>One-tag Implementation</strong>
    313314                            <li><strong>Use Custom Domain</strong>
    314                             <li><strong>Google GAM/Adsense/AdX support</strong>
     315                            <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong>
    315316                            <li><strong>Prebid.js and Header bidding support</strong>
    316317                            <li><strong>Cookie ePrivacy consent support</strong>
  • uniconsent-cmp/tags/1.4.6/trunk/composer.json

    r2976141 r2999805  
    11{
    22    "name": "transfon/uniconsent-cmp",
    3     "version": "1.4.5",
    4     "description": "UniConsent Cookie 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.",
    55    "type": "wordpress-plugin",
    66    "authors": [
  • uniconsent-cmp/tags/1.4.6/trunk/includes/class-unic-cmp.php

    r2976141 r2999805  
    2020            $this->version = UNIC_VERSION;
    2121        } else {
    22             $this->version = '1.4.5';
     22            $this->version = '1.4.6';
    2323        }
    2424        $this->plugin_name = 'uniconsent-cmp';
  • uniconsent-cmp/tags/1.4.6/trunk/public/class-unic-public.php

    r2976133 r2999805  
    127127$unic_stub_v2 = <<<UNIC
    128128<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))}();
     131window.__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"));
    132132</script>
    133133UNIC;
  • uniconsent-cmp/tags/1.4.6/trunk/uniconsent-cmp.php

    r2976141 r2999805  
    44* Plugin Name: UniConsent CMP for IAB TCF GDPR GPP
    55* 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.js and increase advertising revenue.
    7 * Version: 1.4.5
     6* 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
    88* Author: UniConsent
    99* Author URI: https://www.uniconsent.com/
     
    1515}
    1616
    17 define( 'UNIC_CMP_VERSION', '1.4.5' );
     17define( 'UNIC_CMP_VERSION', '1.4.6' );
    1818
    1919function activate_unic_cmp() {
  • uniconsent-cmp/tags/1.4.6/uniconsent-cmp.php

    r2976141 r2999805  
    44* Plugin Name: UniConsent CMP for IAB TCF GDPR GPP
    55* 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.js and increase advertising revenue.
    7 * Version: 1.4.5
     6* 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
    88* Author: UniConsent
    99* Author URI: https://www.uniconsent.com/
     
    1515}
    1616
    17 define( 'UNIC_CMP_VERSION', '1.4.5' );
     17define( 'UNIC_CMP_VERSION', '1.4.6' );
    1818
    1919function activate_unic_cmp() {
  • uniconsent-cmp/trunk/README.txt

    r2976141 r2999805  
    11=== UniConsent CMP for IAB TCF GDPR GPP ===
    2 Version: 1.4.5
     2Version: 1.4.6
    33Contributors: uniconsent
    44Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp
     
    66Tested up to: 6.3
    77Requires PHP: 7.4
    8 Stable tag: 1.4.5
     8Stable tag: 1.4.6
    99
    1010== Description ==
     
    2222Keep updated on [Data Privacy Regtech News](https://www.uniconsent.com/blog).
    2323
    24 Supported consent signals: EU IAB TCF 2.0 consent signals, TCF Canada consent signals, global privacy platform (GPP) consent signals, CCPA USP consent signals, US state consent signals etc.
     24Supported 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.
    2525
    2626IAB 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.
     
    3434UniConsent can load the third party tags based on user's consent and sending consent data to Google Tag Manager.
    3535
    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.
     36Support 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.
    3737
    3838You can manage the consent for your [First Party Data](https://www.uniconsent.com/first-party-data) with UniConsent CMP.
     
    114114== Changelog ==
    115115
     116= 1.4.6 =
     117* IAB TCF 2.2 support
     118
    116119= 1.4.5 =
    117120* Security enhancement and fixes
  • uniconsent-cmp/trunk/admin/class-unic-admin-pages.php

    r2976133 r2999805  
    255255                                <option value="no" <?php selected( $unic_enable_iab, 'no' ); ?>><?php _e( 'No', 'uniconsent' ); ?></option>
    256256                                <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>
    258258                            </select>
    259259                        </td>
     
    301301                        <h3>UniConsent for GDPR/CPRA Compliance</h3>
    302302                        <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>
    305306                            <li><strong>GPP, TCF, USP Consent signals</strong>
    306307                            <li><strong>Fix errors in Google's report</strong>
     
    312313                            <li><strong>One-tag Implementation</strong>
    313314                            <li><strong>Use Custom Domain</strong>
    314                             <li><strong>Google GAM/Adsense/AdX support</strong>
     315                            <li><strong>Google GAM/Google Adsense/Google Adx/Amazon APS support</strong>
    315316                            <li><strong>Prebid.js and Header bidding support</strong>
    316317                            <li><strong>Cookie ePrivacy consent support</strong>
  • uniconsent-cmp/trunk/composer.json

    r2976141 r2999805  
    11{
    22    "name": "transfon/uniconsent-cmp",
    3     "version": "1.4.5",
    4     "description": "UniConsent Cookie 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.",
    55    "type": "wordpress-plugin",
    66    "authors": [
  • uniconsent-cmp/trunk/includes/class-unic-cmp.php

    r2976141 r2999805  
    2020            $this->version = UNIC_VERSION;
    2121        } else {
    22             $this->version = '1.4.5';
     22            $this->version = '1.4.6';
    2323        }
    2424        $this->plugin_name = 'uniconsent-cmp';
  • uniconsent-cmp/trunk/public/class-unic-public.php

    r2976133 r2999805  
    127127$unic_stub_v2 = <<<UNIC
    128128<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))}();
     131window.__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"));
    132132</script>
    133133UNIC;
  • uniconsent-cmp/trunk/uniconsent-cmp.php

    r2976141 r2999805  
    44* Plugin Name: UniConsent CMP for IAB TCF GDPR GPP
    55* 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.js and increase advertising revenue.
    7 * Version: 1.4.5
     6* 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
    88* Author: UniConsent
    99* Author URI: https://www.uniconsent.com/
     
    1515}
    1616
    17 define( 'UNIC_CMP_VERSION', '1.4.5' );
     17define( 'UNIC_CMP_VERSION', '1.4.6' );
    1818
    1919function activate_unic_cmp() {
Note: See TracChangeset for help on using the changeset viewer.