Enable IAB: Script missing attributes

Created on 17 October 2023, over 1 year ago
Updated 8 March 2024, 12 months ago

When I check the "Enable IAB" setting, script tag generated by the module is missing two attributes that are required for the IAB Transparency & Consent Framework to work correctly (according to Cookie Information's documentation: https://support.cookieinformation.com/en/articles/4465070-how-to-work-with-the-iab-consent-transparency-framework-iab-tcf-2-0#h_fff6667dc4).

Module's current output:
<script type="text/javascript" id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="en" data-iab-enabled></script>

Desired output:
<script type="text/javascript" id="CookieConsent" src="https://policy.app.cookieinformation.com/uc.js" data-culture="en" data-tcf-v2-enabled="true" data-tcf-global-scope="false"></script>

Adding data-tcf-v2-enabled="true" and data-tcf-global-scope="false" may be necessary to send the correct consent strings.

P.S. Please don't ask me for more information. I'm not familiar with the IAB TCF and most likely cannot answer. Your best bet would be consulting Cookie Information documentation.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇮Finland Aelfendir

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024