Support for CCPA Implementation
Hi Team, I need to implement CCPA on my website, I mean in AMP pages and AMP Story Pages, I am attaching two demo file of my implementation, Please can you confirm the implementation are right or not. PFA CCPA_Implementation.zip
@abhiz10 They look good to me, based up on blocking for eea and preset-us-ca.
Thanks, @micajuine-ho so I can use custom list list "mylist" in Story HTML, and one div using the same id in as I mentioned in AMPHtml ?
@abhiz10 The amp-consent integration with amp-geo works across stories and amphtml.
Actually What I meant to ask, that In AMP HTML: I am using the same ["promptUI":"consentDialog"] for both "eea" and "usca" is that ok to use the same "promptUI" Id for both? As I'm using only one "div id="consentDialog"" block to show the same message for both "eea" and "usca" AMP Geo: AMP-Consent: ....
And, while in AMP Stories also I'm using only one div in consent, but create my custom array: "mylist" in amp-geo and in consent is mentioned "promptIfUnknownForGeoGroup": "mylist". AMP-Geo:
AMP-Consent:
Actually there is an issue what I'm facing with AMP-Stories that I can't use this script in AMP-Stories format its show me error in console: error.js:204 Cannot convert undefined or null to object
Story_AMPConsent_CCPA_Error.zip In this, I had used this script Showing me error in console: error.js:204 Cannot convert undefined or null to object
@micajuine-ho Can you check all the implementation once regarding my concerns, please, it would be a great help
I am using the same ["promptUI":"consentDialog"] for both "eea" and "usca" is that ok to use the same "promptUI" Id for both?
Yes that is fine.
Can you check all the implementation once regarding my concerns, please, it would be a great help
The script for the amp-consent should include a 'consents' object (required for amp-consent-story):
{
"consentInstanceId": "world-wide-consent",
"consents": {
"world-wide-consent": {}
},
"consentRequired": false,
"geoOverride": {
"eea": {
"promptUI": "consentDialog",
"consentRequired": true
},
"usca": {
"consentRequired": true,
"promptUI": "consentDialog"
}
}
}
@micajuine-ho thank you so much
@abhiz10 FYI this is actually a bug, and it is on my radar to fix. There should be no changes necessary on your end.
@micajuine-ho Ok, Thanks