- Issue created by @Aelfendir
- 🇫🇮Finland Aelfendir
Here's a patch for adding data-tcf attributes when enabling IAB via module settings.
- Status changed to Needs review
over 1 year ago 2:06pm 23 October 2023 - Status changed to Needs work
over 1 year ago 11:59am 1 December 2023 - 🇫🇮Finland heikkiy Oulu
Hi @aelfendir!
Thank you a lot for the issue and patch.
I checked the documentatiuon for IAB in Cookie information help pages at https://support.cookieinformation.com/en/articles/8331323-how-to-use-the....
It seems like your patch solves it partly but according to the document the change in the popup is following:
<script id="CookieConsent" type="text/javascript" src="https://policy.app.cookieinformation.com/uc.js" data-culture="EN" data-tcf-v2-enabled="true" data-tcf-version="2.2"> </script>
Currently the patch does not seem to take the second data attribute data-tcf-version into account.
- 🇫🇮Finland Aelfendir
Here's a new patch that follows the updated Cookie Information documentation.
- Status changed to Needs review
about 1 year ago 1:57pm 13 December 2023 - 🇫🇮Finland heikkiy Oulu
Thanks a lot @aelfendir.
This looks good to me know. We don't currently have any project with IAB support so I cannot further test if this is working as it should. Do you have any information to share how this could be verified?
That being said, the actual code looks good and I would be willing to mark this as RTBC.
I also noticed that the link I posted earlier is now giving an error 404. This seems to work:
https://support.cookieinformation.com/en/articles/8331323-how-to-use-the....There is also a setting for this in the documentation:
data-tcf-global-scope="false"---> ENABLES GLOBAL VS. LOCAL SCOPE OF THE CONSENT STRINGBut I think this would need a new configuration option in the module settings to toggle this as true/false but it could be a separate issue to change IAB scope.
- 🇫🇮Finland Aelfendir
According to IAB Europe, global scope has been deprecated in IAB TCF version 2.0. The reference to global scope appears to me as outdated information. Current documentation is for IAB TCF 2.2.
Testing the consent would most likely require you to implement a script from an IAB partner vendor and activate the IAB mode as per Cookie Information's instructions.
- Status changed to RTBC
about 1 year ago 11:57am 18 January 2024 - 🇫🇮Finland heikkiy Oulu
Looks good now. I will mark this as RTBC. We will check when we can merge this.
Can @aelfendir you make a merge request for this?
- Merge request !14Add IAB TCF v2.2 attributes to script element when IAB is enabled in module settings → (Merged) created by Aelfendir
- Assigned to heikkiy
- Status changed to Fixed
about 1 year ago 1:50pm 19 February 2024 - 🇫🇮Finland heikkiy Oulu
Fixed conflict and merged. Thanks @aelfendir.
-
Aelfendir →
authored a28cf45f on 2.1.x
Issue #3394582 by Aelfendir, HeikkiY, kekkis: Add IAB TCF v2.2...
-
Aelfendir →
authored a28cf45f on 2.1.x
Automatically closed - issue fixed for 2 weeks with no activity.