InteractiveAdvertisingBureau / iabtcf-es

Official compliant tool suite for implementing the Transparency and Consent Framework (TCF) v2.0. The essential toolkit for CMPs.
Apache License 2.0
132 stars 96 forks source link

CMP API Not Detected During Chrome Extension Validation #434

Closed naeem-epi closed 10 months ago

naeem-epi commented 10 months ago

Version 1.5.10 Module (core, cmpapi, cli, stub, or testing) core,cmpapi Describe with reproduction steps – What is the expected behavior?

I've integrated the Consent Management Platform (CMP) API into our website. However, when I attempt to validate it using Chrome extension tools, the validation suggests that the CMP API is not detected. Strangely, when I manually type the CMP API function (e.g., __tcfapi) in the console, it returns an object.

I want to note that I haven't registered a CMP ID; instead, I'm using a dummy CMP ID, which is 1003 for IAB submission. Despite this, I'm unable to identify where the issue lies. Any guidance on resolving this matter would be greatly appreciated.

cmp-api-not-found
HeinzBaumann commented 10 months ago

@naeem-epi can you please grant me access to your test site so I can take a look. My guess is that there is no TCF API present and / or accessible outside the mainframe. You will need to set this up based on the TCF spec to make it work. I am happy to take a quick look at your test site.

ANGIL21 commented 10 months ago

Ok. Perfecto

El jue., 14 de diciembre de 2023 5:24 p. m., Heinz Baumann < @.***> escribió:

@naeem-epi https://github.com/naeem-epi can you please grant me access to your test site so I can take a look. My guess is that there is no TCF API present and / or accessible outside the mainframe. You will need to set this up based on the TCF spec to make it work. I am happy to take a quick look at your test site.

— Reply to this email directly, view it on GitHub https://github.com/InteractiveAdvertisingBureau/iabtcf-es/issues/434#issuecomment-1856942069, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBSJ7DX2GDBTOMDUAJ5XIPTYJODERAVCNFSM6AAAAABAVBJUBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJWHE2DEMBWHE . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

naeem-epi commented 10 months ago

@naeem-epi can you please grant me access to your test site so I can take a look. My guess is that there is no TCF API present and / or accessible outside the mainframe. You will need to set this up based on the TCF spec to make it work. I am happy to take a quick look at your test site.

The password is **skotho** Please note that the banner is exclusively accessible in the EU region. Kindly ensure that you are browsing from within the EU region. If you are located outside the EU, feel free to use a VPN to access the site. Thank you!

HeinzBaumann commented 10 months ago

@naeem-epi I quickly checked. It looks to me as there is no __tcfapi on this page, hence you get the error message in the TCF validator. The location cookie you set shows location Frankfurt/Germany. My browser is EU. I only see a regular cookie banner, not a CMP. Hope this helps