Ask Your Question
0

Can I change the message from the GlowCookies banner in the Configuration?

asked 2023-04-24 01:22:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-24 01:23:01 +0000

plato gravatar image

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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

1 follower

Stats

Asked: 2023-04-24 01:22:00 +0000

Seen: 24 times

Last updated: Apr 24 '23