Postponed (maintainer needs more info)
Project:
Iubenda Integration
Version:
4.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2022 at 15:54 UTC
Updated:
7 Jun 2025 at 13:54 UTC
Jump to comment: Most recent
Comments
Comment #2
fadeslayer commentedAn update, after some tries I implemented custom, translatable values for siteId and cookiePolicyId for each subdomain. I had trouble to get translated IDs set on drupalSettings object, it did not work OOB, so I implemented hook_iubenda_integration_alter and I forced langcode and correct translated values.
Now the banner comes out in the right language, drupalSettings.iubendaIntegration.iubendaCookiePolicy contains the right IDs, but I have a new problem:
- the main site works flawlessly, cookies (GA only) are blocked until I give consent (if I deny consent after allowing cookies, they are not deleted automatically, though)
- the other 3 domains do not work, Iubenda code is embedded in page but GA cookies are set before, as if Iubenda script "comes late".
Comment #3
fadeslayer commentedComment #4
robertoperuzzoI moved this issue to version 4.x because 3.x is no more supported.
Comment #5
robertoperuzzo@fadeslayer if I have correctly understand there are 2 issue here:
I think they are two behaviours you should better explain in two separated issue using the "issue template" that propose the following paragraphs
Problem/Motivation
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment #6
robertoperuzzo