Jump to content
Akinix
Sign in to follow this  
Quarter

Google AdSense causes Cumulative Layout Shift (CLS)

Recommended Posts

Is there any good solution for fixing the Cumulative Layout Shift (CLS) caused by Google AdSense? How do you deal with it?

  • Like 1

Share this post


Link to post
Share on other sites

As far as I know, the only way to deal with it at this time is to set container height manually.

Share this post


Link to post
Share on other sites

Use ad placeholders. Add empty divs where you want the ads to load and give them fixed widths/heights. This reserves the space before the ads load.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...