Cookie banner and analytics tags
Ask visitors for consent the way the law in their country expects, and add Google, Bing and Yandex tags (Pro).
5 min readGuide 13 of 14
Turn it on
- 1
In your dashboard, open your site and click Cookies & tracking (under Settings).
- 2
Switch on Cookie banner.
- 3
Choose a law template. Automatic is the best choice for most sites.
- 4
Click Save. Your live site uses the banner straight away, with no republish needed.
Choose a law template
Automatic shows each visitor the template for their own country. Visitors from a country we can't identify get GDPR, the strictest, to be safe. You can also pick one template for everyone.
- 1
Ask first (GDPR for the EU, UK, Switzerland, Mauritius, South Africa, Brazil, India and Canada): nothing optional loads until the visitor chooses. Reject all is as easy as Accept all, and Choose lets them decide per category.
- 2
US privacy laws (California): optional cookies run by default, with a Do not sell or share my personal information link. Browsers that send a Global Privacy Control signal are treated as a no.
- 3
Simple notice: tells visitors the site uses cookies, with an OK button. For countries with no consent law.
Tip. The templates are a sensible starting point, not legal advice. If you're unsure what applies to your business, check with a professional.
Make it yours
- 1
Position: a corner box, a bar along the bottom, or a pop-up in the centre of the screen.
- 2
Button colour: your site's colour by default, or any colour you like.
- 3
Privacy policy link: add a link to your privacy page, for example /privacy. We recommend it.
- 4
Title and message: leave them empty to use the template's wording, or write your own. Your own wording replaces every template's, in every country.
- 5
The preview on the right shows the banner as visitors will see it. With Automatic, pick a country to preview its version.
Videos, maps and embeds
With the banner on, YouTube videos, Google Maps and other embedded content wait for consent. Until then, visitors see a small card saying where the content is from, with a Load content button. Clicking it counts as agreeing to embedded content, and everything loads at once.
Verify your site with search engines
Under Search engine verification, paste the codes from Google Search Console, Bing Webmaster Tools and Yandex Webmaster. Choose the HTML tag or meta tag option there and paste the code from content="…" (pasting the whole tag works too). These codes set no cookies. Once verified, you can see how people find you in search and submit your sitemap.
What visitors see
After they choose, a small cookie button stays in the bottom-left corner so they can change their mind at any time. Their choice is remembered for 6 months. If they withdraw consent, the tags' cookies are cleared and the page reloads without them.
Still stuck? Email modesign@shark.mu and a real person will help.