Developer forum

Forum » Swift » Consent Mode V2 (Google)

Consent Mode V2 (Google)

Martin Moen
Reply

Are you planning on adding support for the upcomming Consent Mode V2 from Google?
https://support.google.com/tagmanager/answer/13695607?hl=en


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yes, we are looking into it.

We are looking at Google Chromes kill 3rd party cookie feature as well and will handle both of these in one go if needed and if we can.

We have also talked about enabling the bypassing of our cookiebanner and use external cookie banners injected with GTM and then leave the responsibility to that party.

BR Nicolai

 
Martin Moen
Reply

Thanks Nicolai. Do you have a timeline for when you are ready? March is not far away :)

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

This is devops#17270 - the task is in test.

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Hi,

Is this a "Swift-thing" or something for the platform?

Regards / Aki

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Aki

It is a Swift thing.

It is a change in master and cookie template - using consent defaults and updates

Master template change:

Changes in the cookie template:

 
Alexander Tømmerholen
Reply

Hi,

How should this be handled for those still on Rapido?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Alexander

You would have to re-implement or adjust the gtm code on your installation - it is fairly simple. We do not provide code updates for Rapido anymore...

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Does the new V2 change handle also send the following variables to GTM?

cookie_cat_functional

cookie_cat_marketing

cookie_cat_statistic

If not, where is the best place to wire these variables?

Thank you,
Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Nevermind. I have figured it out.

It can be added here:
 

<script>
                    gtag('consent', 'update', {
                        'ad_storage': '@adConsent',
                        'ad_user_data': '@adConsent',
                        'ad_personalization': '@adConsent',
                        'analytics_storage': '@analyticsConsent',
                        'cookie_cat_marketing': @adConsent,
                        'cookie_cat_statistics': @analyticsConsent
                    });
                </script>

Thank you,

Adrian

 

You must be logged in to post in the forum