How to add a cookie consent pop-up to your Studio

Many people have asked how they can add a pop-up to their studio that informs end-users about cookies and asks for consent. Doing so is very simple in Pickaxe! It’s just pasting a line of code into the studio.

Here’s a step-by-step process:

  • Go into the Studio Manager
  • Click on Design
  • Click on Content
  • Click on Code Injection in the bottom of the left hand nav bar
  • Then paste the following code into the Footer section.

CODE TO USE

<!-- Cookie Consent by FreePrivacyPolicy.com https://www.FreePrivacyPolicy.com -->
<script type="text/javascript" src="//www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js"></script>
<script type="text/javascript" charset="UTF-8">
document.addEventListener('DOMContentLoaded', function () {
    cookieconsent.run({
        "notice_banner_type": "simple",
        "consent_type": "implied",
        "palette": "dark",
        "language": "en"
    });
});
</script>

That’s it! Then all end-users will receive a simple pop-up. For your convenience, here is a preview of the pop-up they will receive. You can further customize the look of it by changing the code. I suggest pasting the code into ChatGPT and having a conversation about the stylistic changes you want.

EXAMPLE SCREENSHOT

7 Likes