Welcome to the Instapage Support Center

|

EU regulations and cookies

EU law requires that every website should have 'cookie warning' message. To add one on Instapage, simply paste the  following script on your page, in Settings > HTML/CSS, in the Footer section:

<script src="//s3.amazonaws.com/instapage-scripts/cookiecuttr/jquery.cookiecuttr.js"></script> 

<link rel="stylesheet" href="https://s3.amazonaws.com/instapage-scripts/cookiecuttr/cookiecuttr.css"; > 

<script> 

  $(document).ready(function () { 

    $.cookieCuttr(); 

  }); 

</script>

If you need more control over the look or functionality of the 'cookie warning' message, you can use and customize the code snippets below.

After you edit the code, add it on your page:

  • the first code snippet should go in Settings > HTML/CSS, in the Header section;
  • the second code snippet has to be added in Settings > HTML/CSS, in the Footer section.

1.


<style>
  <!-- Edit below the background color of the text "#6b7b82" -->
  .cc-cookies{
  	background: #6b7b82 !important;
  }
  
  <!-- Edit below the color of the ACCEPT COOKIES button "#b9dd35" -->
  .cc-cookies a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset{
  	background: #b9dd35 !important;
  }
  </style>

 

2.


<script src="
//s3.amazonaws.com/instapage-scripts/cookiecuttr/jquery.cookiecuttr.js"></script> 
<link rel="stylesheet" href="https://s3.amazonaws.com/instapage-scripts/cookiecuttr/cookiecuttr.css";>
<script> 
  $(document).ready(function () { 
$.cookieCuttr({
        cookieAnalyticsMessage: 'We use cookies, just to track visits to our website, we store no personal details.',
        cookieAcceptButtonText: 'ACCEPT COOKIES',
        cookieWhatAreLinkText: 'What are cookies?'
    });
    // Edit below the redirect URL of the "what are cookies?" link from www.mydomain.com to your external page
    $(".cc-cookies a:nth-child(2)").attr("href", "http://www.mydomain.com");
  }); 
</script>
Have more questions? Submit a request
Was this article helpful?
9 out of 14 found this helpful

Need Further Help?

Tell us what you need and we will be happy to assist you.

Our team of expert support staff and our community can answer your questions. Submit a ticket, or reach out on live chat!