Jump to content

Custom js Cookie Banner blocks Navigation bar

Recommended Posts

Site URL: https://www.homeofficeshop.com/

Hello there,

to comply with GDPR we need to use our own cookie Banner.

The Code and banner is provided by our 3rd party data privacy provider.

<script id='BBCookieConsentRur' type='text/javascript' data-bbcid='a2b25d5b-e335-4937-acde-da663463e670' src='https://2badvice-cdn.azureedge.net/psf/js/bb-manager.js'></script>

Now the big question ... where to put the code ideally?

I've tried it through settings>code injection for the header:

Problem with the header injection is, that the navigation bar disappeares. The banner itself is displayed, but there is no way to navigate our shop now.

Injection in the footer:

The banner is displayed, navigation works but ... the cookies are not blocked anymore. That's how I've set it up for now, but it is 100% not GDPR conform...

 

Is there any other way to inject above shown code or how do I fix the navigation bar problem?

Attached screenshot of header injection problem.

headerinjection.JPG

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.