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.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-04-24 01:22:00 +0000
Seen: 24 times
Last updated: Apr 24 '23