1 | initial version |
Yes, you can change the message displayed on the GlowCookies banner through the configuration. To do so, add the bannerDescription, bannerLinkText, and bannerHeading parameters to the GlowCookies configuration script.
Here's an example of how to customize the GlowCookies banner text:
<script src="https://cdn.jsdelivr.net/gh/manucaralmo/GlowCookies@3.1.7/src/glowCookies.min.js"></script>
<script>
glowCookies.start('en', {
style: 1,
analytics: 'G-FH87DE17XF',
facebookPixel: '990955817632355',
policyLink: 'https://link-to-your-policy.com',
// Customize the banner text
bannerHeading: 'Your Custom Heading',
bannerDescription: 'Your custom message about cookies and privacy.',
bannerLinkText: 'Learn more about our cookie policy',
acceptedCallback: setPersonalizedAds,
rejectedCallback: setNonPersonalizedAds
});
</script>
Replace Your Custom Heading
, Your custom message about cookies and privacy.
, and Learn more about our cookie policy
with your desired text.