cookieconsent

How to construct AMP cookie consent with the help of amp-story-consent?

五迷三道 提交于 2020-06-09 06:01:28
问题 I'd like to add a cookie consent to my AMP static website. I'd like to take advantage of the modal dialog what the amp-story-consent could provide to me. I studied various examples, maybe the most complete is this: https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fuser-consent%2Fstory_user_consent&format=websites (example documentation https://amp.dev/documentation/examples/user-consent/story_user_consent/?referrer=ampbyexample.com) My problem is that

How to get AMP Cookie consent modal dialog backdrop working?

最后都变了- 提交于 2020-06-01 05:52:06
问题 I'd like to implement a cookie consent on my static AMP website. The amp-story-consent so far seems to not fit that (cookie consent has no pages or bookend, please chip in if you know a solution for How to construct AMP cookie consent with the help of amp-story-consent?). I'm trying to implement my own modal dialog following the examples. <amp-consent layout="nodisplay" id="cookie-consent-element"> <script type="application/json"> { "consents": { "my-consent": { "checkConsentHref": "https:/

Typo3 | CookieConsent2 change message

筅森魡賤 提交于 2019-12-24 08:57:46
问题 I got the problem that I cannot change the message shown in the box. Even though I changed the message in the file: 'Root/typo3conf/ext/cookieconsent2/Resources/Private/Language/de.locallang.xlf' I first thought there could be another file but I were not able to find any other and my next guess was maybe a problem with the cache. But this did not work either. I appreciate any help! 回答1: The Messages of the translationfiles are cached, so if you changed something in these files you've to

Android: Getting user's location using Admob's Consent SDK

家住魔仙堡 提交于 2019-12-06 10:26:39
问题 I have an issue with AdMob's new 'Consent SDK'; the integration guide says to put the following into onCreate ... public class MainActivity extends Activity { ... @Override protected void onCreate(Bundle savedInstanceState) { ... ConsentInformation consentInformation = ConsentInformation.getInstance(context); String[] publisherIds = {"pub-xxxxxxxxxxxxxxxx"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated

Android: Getting user's location using Admob's Consent SDK

久未见 提交于 2019-12-04 12:54:51
I have an issue with AdMob's new 'Consent SDK' ; the integration guide says to put the following into onCreate ... public class MainActivity extends Activity { ... @Override protected void onCreate(Bundle savedInstanceState) { ... ConsentInformation consentInformation = ConsentInformation.getInstance(context); String[] publisherIds = {"pub-xxxxxxxxxxxxxxxx"}; consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() { @Override public void onConsentInfoUpdated(ConsentStatus consentStatus) { // User's consent status successfully updated. } @Override public void