Giter Site home page Giter Site logo

Google Consent Mode V2 about amphtml HOT 5 OPEN

StuartPaterson avatar StuartPaterson commented on June 12, 2024 1
Google Consent Mode V2

from amphtml.

Comments (5)

erwinmombay avatar erwinmombay commented on June 12, 2024

@powerivq could you take a look at this? would this be new implementation needed or does our current implementation cover this scenario?

from amphtml.

powerivq avatar powerivq commented on June 12, 2024

Although I am not working on Google Ads, I think this document says that you should set up all purposes from your CMP, and granular consents will be passed through as a consent string and be processed by the Google Ads.

from amphtml.

StuartPaterson avatar StuartPaterson commented on June 12, 2024

Thanks for the feedback on this one, we already updated our CMP template on Google Tag Manager as we work with Cookiebot for consent mgmt, so we should be fully compliant on non-amp pages. I've just sort of guessed that for our AMP consent we just added these other two consent purposes...any thoughts on whether this is right or totally wrong would be great.

"purposeConsentRequired": ["purpose-analytics", "purpose-marketing", "purpose-user_data", "purpose-personalization"]

So we have another couple of checkboxes on our consent form -

<label class="consentLabel" for="consent-purpose-user_data" style="color: grey;"> <input id="consent-purpose-user_data" type="checkbox" on="change:siteConsent.setPurpose(purpose-user_data=event.checked)" /> User Data </label> <label class="consentLabel" for="consent-purpose-personalization" style="color: grey;"> <input id="consent-purpose-personalization" type="checkbox" on="change:siteConsent.setPurpose(purpose-personalization=event.checked)" /> Personalization </label>

from amphtml.

powerivq avatar powerivq commented on June 12, 2024

@StuartPaterson purposeConsentRequired seems right. As to the consent screen HTML, I have no knowledge as to your specific CMP and the CMP is probably your best resource.

from amphtml.

StuartPaterson avatar StuartPaterson commented on June 12, 2024

@powerivq purposeConsentRequired is the part we already know to be correct as this is specified on the amp-dev documentation.

This post is more about the 'consent purposes' within the purposeConsentRequired array, in regard to the new consent types introduced by Google Consent Mode V2, as mentioned in my original query.

from amphtml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.