Issues with documentation while upgrading to TCF 2.2
mostafaelassar opened this issue · 1 comments
I'm upgrading to TCF 2.2 and I have a couple of questions:
Regarding the version parameter here: It is not clear which values are supported, eg. minor versions. Does this mean that I should change it to 2.2
or not?
Regarding the addEventListener
command here: The getTCData
used to support a vendorIds
parameter but there is nothing stated here if addEventListener
supports that even though it works when tried out. Should I be using that or not?
@mostafaelassar
The version number passed to the API is an integer so only major version is used, which is 2.
The API addEventListener doesn't support the vendorIds parameter. It is possible that our reference implementation has support for it but officially it is not supported. You should use addEventListener as document, returning a tcData object containing all the vendors that were specified by the CMP and then check through data to find vendors of interest.
Hope this helps.