Comments (3)
I'm struggling with a similar issue.
I'm getting "Uncaught Error: ConsentString - Unsupported version 0 in the string to decode".
The consent string I get is "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA".
I get this with both Chrome and Firefox BUT only on a specific website.
I fear there's something with the browser compatibility mode while executing JS.
from gdpr-transparency-and-consent-framework.
my problem is caused by this version of Prototype.js
Prototype JavaScript framework, version 1.6.0.2
from gdpr-transparency-and-consent-framework.
I found my issue was caused by the prototype.js overwriting the Array.reduce() method which is defined as follows
reduce: function() {
return this.length > 1 ? this : this[0];
},
to solve this, I will re-assign the correct native implementation of Array.reduce() on top of my CMP code
Array.prototype.reduce = function(callback, initialVal) {
var accumulator = (initialVal === undefined) ? undefined : initialVal;
for (var i = 0; i < this.length; i++) {
if (accumulator !== undefined)
accumulator = callback.call(undefined, accumulator, this[i], i, this);
else
accumulator = this[i];
}
return accumulator;
};
hope this may help you as well.
from gdpr-transparency-and-consent-framework.
Related Issues (20)
- Google’s Additional Consent Mode HOT 1
- Consent String via postMessage HOT 1
- DecodingError: bitfield encoding length mismatch Error
- This Library supports TCFV2.2? HOT 1
- Is the Android IABTCF_gdprApplies shared preference key an Integer or a boolean? HOT 3
- __tcfapi event listener returns null for tcData HOT 3
- Problems with Validator 2.2 HOT 8
- What assumptions do we make if a GVL vendor is not listed in the AVI? HOT 2
- Ability to detect when a user has changed their consent string via manually triggering CMP HOT 6
- Binance
- Undocumented methods HOT 4
- Issues with documentation while upgrading to TCF 2.2 HOT 1
- Caching of the Global Vendor List distributed from a CDN HOT 1
- Trouble For Adding `addtlConsent` Key in TCF2.2 Integration
- Go support for GDPR v1.12.0 crashes with Go Fuzz test HOT 3
- \n control character is the newest purposes-xx.json and vendor-json HOT 3
- Purpose 10: Wrong translation of description/ first illustration in /v3/purposes-de.json HOT 1
- Wrong example for GVL json format HOT 1
- clarification on device disclosure doc of wildcard applicability to root domain HOT 4
- How to use __tcfapi to define consent mode v2 in gtm? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdpr-transparency-and-consent-framework.