Support » Plugin: Complianz - GDPR/CCPA Cookie Consent » Preload at first

  • Resolved gilleschristopher

    (@gilleschristopher)


    Hello complianz ,

    Im trying to improve my speed insight and the UI design on my website.

    Im not able to put complianz banner show at very first on the website.

    Its possible to put with header/footer code a PRELOAD like we can do with background image , fonts and other things ?

    Thank you for your help.

    ( actually im trying to improve only for mobile , because on desktop its work already fine , but don’t try with browser on mobile test because isn’t work like with a real phone ).

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gilleschristopher

    (@gilleschristopher)

    And another one question … I enable delay JS on wpocket and if I add this for exclude complianz to don’t be delayed

    /jquery-?0-9.(.min|.slim|.slim.min)?.js
    /jquery-migrate(.min)?.js
    complianz

    Its improve the delay that banner appear , but what is exactly the JS i have to exclude for complianz like i can filter better because actually if I add this the Js google tag is excluded too for example

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @gilleschristopher,

    Out of performance considerations for your website, the cookie banner will be the last to load. This has the advantage that the Cookie Banner does not impact your webpage loading speed, but forcing a “preload” would be challenging.

    Adding “complianz” will indeed be sufficient to exclude Complianz from the Delay JS optimization (https://complianz.io/javascript-delay-in-wp-rocket-and-other-caching-and-optimization-plugins/).

    Could you specify the exact Complianz behavior that you would like to change?

    Kind regards, Jarno

    Thread Starter gilleschristopher

    (@gilleschristopher)

    The fact is the cookies banner isn’t showing at first.

    Like somewebsite, you are trying to scroll down the website and the popup cookies banner appear after some second… its not cool, the best I would have is the cookies banner is poping at first , and during people click to accept , the other things on the page is downloading.

    Thread Starter gilleschristopher

    (@gilleschristopher)

    Im sorry because , i got a lot of trouble with connection on phone at work, actually my cookies banner is appear very at first on my website , like its instantly.

    But if you look to this movies you will see when i click accept / deny isn’t instantly…

    https://share.getcloudapp.com/E0uXj8Rz

    And if you look at this image https://ibb.co/cLYSyKJ

    You can see complianz is on normal priority , can I put it on highest priority ?

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @gilleschristopher,

    We have optimised Complianz over the last years to load efficiently. This means delaying our javascript and not including HTML as critical for above the fold interaction.

    This is done with UX and performance in mind. This means excluding Complianz from WP Rocket will not affect its loading priority as we delay/defer by default.

    Forcing the priority, maybe even render blocking (and I don’t have an idea right now how to approach this) would certainly decrease performance, and other Pagespeed / Web Vital metrics.

    If I use Pagespeed, which now includes Web Vitals on your domain I don’t quite see where Complianz could load faster. It would only work by delaying the rest…
    https://pagespeed.web.dev/analysis/https-www-organizalpha-com/w5oz99e5lz?form_factor=mobile

    Delaying the rest however is detrimental for your performance metrics. Maybe we can rephrase the issue.

    What is the exact reason why you’d like to prioritise consent on your website?

    regards Aert

    Thread Starter gilleschristopher

    (@gilleschristopher)

    Hello aerts thanks for the answer.

    1. Here a screencast when I simulate a slow connection , the goal was to have the popup banner appear quickly like this all the rest of the page download behind the banner , you will see what I mean in the movies.

    https://share.getcloudapp.com/DOulBJZG

    By the way thank you for your plugin.

    2. And Im trying to exclude Complianz from WPROCKET because if you try with Real mobile , when you accept the banner , its very slow like 1/2 second for the banner disappear , if you try with https://www.organizalpha.com/?nowprocket you will see you banner closing instantly after you press the accept button. ( can you try it please ? TY)

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @gilleschristopher,

    The priority at which Complianz loads, aims to ensure optimal performance and user experience. Forcing a higher priority or render-blocking for Complianz may negatively impact your site’s performance.

    Excluding Complianz from the relevant optimization in WP Rocket can be done by adding “complianz” to the exclusion field. But note that excluding Complianz from WP Rocket would not affect its loading priority, as we defer it by default.

    Kind regards, Jarno

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Preload at first’ is closed to new replies.