Banner initialization delay

Banner initialization delay

Nelson
Written by NelsonLast update 1 month ago

You can delay your cookie banner initialization easily. Go to your CookieScript user account > Settings > Behavior > Banner control, where you will find the BANNER INITIALIZATION DELAY (IN MILLISECONDS) checkbox.

Use this option if you have some cookies that are set with delay. This is a delay in milliseconds before the banner will appear. During the delay, the cookies will not be dropped on the web page. 

For example, if you want to delay cookie banner initialization for 2 seconds, enter the number 2000 (milliseconds) in the box below.

Cookie banner initialization delay could also be used to avoid Largest Contentful Paint (LCP) issues in PageSpeed Insights. An LCP is one of the critical metrics, that ensures the web page loading speed and the users' satisfaction with their browsing experience. It specifically measures the time it takes for the largest content element on a webpage to become visible to the user. This content element could be an image, a video, a block of text, or any other element that significantly contributes to the visual appearance of the page.

If you want to improve the LCP time, set higher banner initialization delay, like 5000 ms. This trick will make LCP to ignore the banner at all.

Cookie banner initialization delay is compliant with GDRP, CCPA, LGPD, CNIL, and other major privacy laws.

Did this answer your question?