• Hello there, thank for this great plugin.

    I’m optimizing my website and i make some analyses with GTMetrix and other tools.
    As you can see on this screenshot the Cumulative Layout Shift is not realy good.
    https://i.gyazo.com/c835729ecff65360588b0259c16c4d6b.png
    But, normaly, with Age Gate the CLS have to be very good because the age gate portal is the first element what user can see.
    But look at that : https://i.gyazo.com/c6852eec2a840ef1aacbdc2c84c6f582.png the age gate portal is loaded since 1.2 seconds, before that we can quickly see the website content.

    So, how can we load the portal first and content in background with your plugin, that will considerably improve the CLS.

    regards

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

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @benoitfouc,

    This probably isn’t an issue when it comes to search rankings based on CWV as Age Gate doesn’t trigger for most bots. That should include GTMetrix in future, but you could add the GTMetrix user agents to the bot detection in the advanced settings.

    As Age Gate is javascript driven when there is caching enabled there’s always going to be some latency, and you have also deferred script files, which will add some more:

    If the defer attribute is set, it specifies that the script is downloaded in parallel to parsing the page, and executed after the page has finished parsing.

    There is work happening to allow age gate to potentially trigger sooner, but if scripts are deferred, I’m not sure how much that will save.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘Increase the Cumulative Layout Shift with Age Gate’ is closed to new replies.