From 4.1 onwards, we have integrated with AMP for WordPress. The integration is with the following free AMP plugin https://nl.wordpress.org/plugins/amp/.
Another plugin called AMP for WP (https://wordpress.org/plugins/accelerated-mobile-pages/) has GDPR consent management, built-in. (for AMP only)
What you need to know
The integration is working for the following experience: Websites:
- Classic / Reader
- Transitional
Both options generate paired content pages on dedicated URLs. These paired content pages are stripped from javascript and most third-parties, as well have a simplified template. For transitional, there are more options available but might need some further development.
This also means consent is separated from your ‘normal’ website, as AMP consent works in a vastly different way.
How to configure Complianz for AMP
Before you configure Complianz, please note:
- The cookie notice is for AMP is different from your normal website
- GEO IP is not applicable.
- Individual placeholders are not available on AMP pages
- Revoking consent can be done on the Cookie Policy page or with a shortcode in your footer
The cookie notice for AMP
The cookie notice for AMP is not related to your standard cookie banner. The cookie banner settings are based on the possibilities in AMP as a whole, and further changes are made when AMP improves consent management.
The banner will, by default, have an accept and dismiss button and will block third-party cookies, including videos and Google Analytics, which should be added by the AMP plugin in JSON.
To style the banner you can use Custom CSS under Cookie Banner Settings.
Custom CSS
Disabling integration
Excluding your AMP pages from the cookie, the banner is possible. You can disable the integration in Integrations > Plugins.
Revoking consent
Revoking consent is possible, but a bit different than on your standard website. First, withdrawing consent on an AMP page is only valid for AMP pages and vice versa. Second, the revoke is only available on the Cookie Policy. This will only work if your Cookie Policy is an AMP page as well. If the user switches from an AMP Page to a non-AMP page. The visitor will continue based on prior consent or will need to give consent on the non-AMP pages.