Cookie Consent - JavaScript library CDN available in NPM and jsDelivr

With WM Cookie Consent, you can ensure compliance with cookie regulations and prioritize user privacy on your website. Follow the implementation steps outlined above to seamlessly integrate the cookie consent banner into your website.

Screenshots preview

Check screenshots below of cookie consent manager widget. This is how it'll look like on your website.

Cookie consent preferences selection tab Cookie consent manager - List of active cookies and blocked cookies Overview about cookie consent

Documentation

Below is the documentation for implementing WM Cookie Consent, a lightweight JavaScript library for managing cookie consent banners on your website.

Implementation

To implement WM Cookie Consent on your website, follow these steps:

  1. Add the following script tag to your HTML file:
<script src="https://cdn.jsdelivr.net/gh/wikimint/[email protected]/wm-cookie-consent.js" crossorigin="anonymous"
    data-consent-title="We value your privacy"
    data-consent-description="This website uses cookies to ensure you get the best experience on our website."
    data-policy-link="/privacy-policy"
    data-policy-title="Privacy Policy"
    data-theme="light"
    data-position="bottom-left"
    data-font-family="system-ui"
    data-cookie-manage="true">
</script>

This script tag includes the necessary attributes to configure WM Cookie Consent according to your preferences:

  • data-consent-title: The title of the consent banner.
  • data-consent-description: The description or message displayed in the consent banner.
  • data-policy-link: The URL of your website's privacy policy.
  • data-policy-title: The title or label for the privacy policy link.
  • data-theme: The theme of the consent banner (options: "light" or "dark").
  • data-position: The position of the consent banner on the screen (options: "top-left", "top-right", "bottom-left", "bottom-right").
  • data-font-family: The font family used for the text in the consent banner.
  • data-cookie-manage: Whether to allow users to manage cookie preferences after giving consent (options: "true" or "false").

Customize these attributes to match your website's requirements.

About WM Cookie Consent

Ensure compliance with cookie regulations and enhance user privacy seamlessly with WM Cookie Consent, a powerful vanilla JavaScript library. Easily integrate it into your website with NPMJS and JSdelivr CDN for effortless implementation.

Why Choose WM Cookie Consent?

WM Cookie Consent is a lightweight, versatile JavaScript library designed to simplify the process of implementing cookie consent banners on websites. Whether you're running a personal blog or managing a corporate website, ensuring compliance with cookie regulations is crucial, and WM Cookie Consent streamlines this process.

Seamless Integration

One of the standout features of WM Cookie Consent is its ease of integration. With just a few lines of code, you can quickly add a customizable cookie consent banner to your website. The library is built with vanilla JavaScript, meaning it doesn't rely on any external dependencies or frameworks, ensuring compatibility with any web project.

Customization Options

Every website is unique, and cookie consent banners should reflect that. WM Cookie Consent offers a range of customization options, allowing you to tailor the banner to match your website's design seamlessly. From adjusting the colors and fonts to modifying the text and button labels, you have full control over the appearance and messaging of the consent banner.

Comprehensive Consent Management

Managing cookie consent doesn't end with obtaining initial consent. With WM Cookie Consent, you can easily configure preferences to allow users to manage their cookie settings even after giving consent. This empowers users to control their privacy preferences and ensures transparency in how their data is being utilized.

Effortless Implementation with NPMJS and JSdelivr CDN

WM Cookie Consent is available on popular package managers like NPMJS, making it incredibly simple to add to your project. Additionally, it's hosted on JSdelivr CDN, ensuring fast and reliable delivery to users worldwide. Whether you prefer package management or CDN integration, WM Cookie Consent offers hassle-free implementation options.

SEO Benefits

Beyond its functionality, WM Cookie Consent offers SEO benefits as well. By implementing a compliant cookie consent solution, you demonstrate a commitment to user privacy and regulatory compliance, which can positively impact your website's search engine rankings. Additionally, with customizable text options, you can optimize the consent banner for relevant keywords, further enhancing your site's SEO performance.

Get Started with WM Cookie Consent Today

In conclusion, WM Cookie Consent is the go-to solution for managing cookie consent on your website. With its seamless integration, customizable options, and comprehensive consent management features, it's never been easier to ensure compliance with cookie regulations while prioritizing user privacy. Whether you're a seasoned developer or just starting, WM Cookie Consent simplifies the process and empowers you to create a more privacy-conscious web experience for your visitors.

Don't wait any longer – implement WM Cookie Consent today and take the first step towards a more compliant and user-friendly website.