Skip to content

v2.9.0 (2024-03-08)

Compare
Choose a tag to compare
@chriskyfung chriskyfung released this 09 Mar 14:43
· 232 commits to master since this release
v2.9.0
d7e690f

What's Changed

✨ Features

  • Added ability to customize the URL for the privacy policy page via the _config.yml file.

  • Implemented a granular Cookie Consent Notice (#44):

    • Integrated the amp-consent extension to manage user consent.
    • Developed a comprehensive cookie consent interface that allows for detailed consent management based on specific purposes.
    • Implemented CSS styles for the consent interface.
    • Incorporated the consent interface into the default layout, ensuring its visibility upon page load.
    • Enabled the consent UI when consent: true is set in the _config.yml file.
    • Provided an option to remove the data-ampdevmode attribute from the custom script by setting consent_dev_mode=false.
    • Implemented blocking of AddThis, Disqus, Google Analytics, and Google AdSense until user consent is obtained.

🔧 Chore

  • Extended the import of the amp-script extension to include cases where the consent UI is enabled, allowing custom scripts to access consent states stored locally.
  • Updated to the latest official Google Analytics 4 support.

Full Changelog: v2.8.0...v2.9.0