top of page

How to implement cookie consent with CookieYes

  • Customer Success Team
  • Dec 11, 2025
  • 1 min read

Updated: Dec 16, 2025

Use CookieYes custom event listener to ensure the Extellio script won't set cookies prematurely. The event listener fires when the consent changes and with each page load. It means that if the visitor changes their consent through their visit, the event listener will prevent the Extellio script from settings cookies.  


You can use the CookieYes event listener:  

<script>


document.addEventListener("cookieyes_consent_update", function (eventData) {

const data = eventData.detail;


if(data.accepted.includes("analytics")){   

extellio_actions.push(['rememberCookieConsentGiven']); 

} else {   

extellio_actions.push(['forgetCookieConsentGiven']);}});


</script>


Tired of cookies? 

With our cookieless analytics, you can track visitors without cookies while still being GDPR and privacy-friendly!

Related Posts

See All
How to analyze user journeys

One of the strengths of combining the Extellio products is that you are able to not only analyze parts of a user journey, but the full user journey. By using surveys, you can learn who the visitors ar

 
 
How to turn on multi-factor authentication (MFA)

Multi-factor authentication requires users to input a verification code at each login.  The verification code will be sent to your phone, making it difficult for anyone not authorized to access your a

 
 
Do you need all Extellio products?

As much as you may want to measure everything, it's not always possible. Budget limitations may come in the way and force you to prioritize. However, if you're new to analyzing websites or using servi

 
 
bottom of page