Hi there, I'm trying to detect CMP consent signals via the addEventListener API. The example to do this in the documentation has been changed in v1.1 to use EventListener.PingReturn.parsedSections.
I'd like to inquire what's the difference between
EventListener.PingReturn.parsedSections
EventListener.data
in the case of a section case event.
As far as I understood, each should point to a corresponding section object. Is it recommended to use the first over the latter?
Thanks in advance for your help!
Hi there, I'm trying to detect CMP consent signals via the addEventListener API. The example to do this in the documentation has been changed in v1.1 to use EventListener.PingReturn.parsedSections.
I'd like to inquire what's the difference between
in the case of a section case event.
As far as I understood, each should point to a corresponding section object. Is it recommended to use the first over the latter? Thanks in advance for your help!