GDPR Cookie Law jQuery GDPR Compliance Plugin Example

GDPR Cookie Law – GDPR Cookie Compliance Plugin example – Custom text

For the best user experience on the demo site, the cookies are automatically deleted. This way you can always see the notification toolbar.
Custom text
<link rel="stylesheet" href="http://your-domain.com/gdpr-cookie-law/css/gdpr-cookie-law.min.css">
<script src="http://your-domain.com/gdpr-cookie-law/js/jquery-3.3.1.min.js"></script>
<script src="http://your-domain.com/gdpr-cookie-law/js/gdpr-cookie-law.min.js"></script>
<script>
$(document).ready(function () {
    $(document).gdprCookieLaw({
        moreLinkHref: 'http://your-domain.com/privacy-policy',
        desc: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
        moreLinkText: 'Read More',
        btnAcceptText: 'It\'s ok'
    });
});
</script>
Peoprty Possible Values Default Value Description
moreLinkHref URL e.g. 'http://your-domain.com/privacy-policy' null The href attribute of the 'More information' link.
desc 'Any text what you want' 'We use cookies to ensure that we give you the best experience on our website. By continuing to use our site, you accept our cookie policy.' The description of the box.
moreLinkText 'Any text what you want' 'More information' The text of the 'More information' link.
btnAcceptText 'Any text what you want' 'Accept' The text of the accept button.