You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
@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.
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: ThegetTCData
used to support avendorIds
parameter but there is nothing stated here ifaddEventListener
supports that even though it works when tried out. Should I be using that or not?The text was updated successfully, but these errors were encountered: