Chapter 1. Introduction
What CLS Ad Slot does, why ads need their own performance tool, how it works, the ad units it supports, and what your site needs.
About CLS Ad Slot
CLS Ad Slot shows your Google AdSense ads on your Joomla site without making your pages jump and without slowing them down. Performance is not an extra it offers on top of placing ads; it is the reason it exists.
Ads are a performance problem in two ways:
-
They move your content. An ad's size isn't known until Google has chosen which ad to show, which happens after the rest of the page has already appeared. When the ad finally arrives, everything below it is pushed down. Your visitor loses their place, or taps the wrong link. Google measures this as Cumulative Layout Shift (CLS), one of the three Core Web Vitals.
-
They are heavy. The AdSense script, and the scripts it loads in turn, are among the largest files on a typical page. Loaded straight away, they compete with your own content for the visitor's connection and processor, even when the only ad on the page is far down, where most visitors never scroll.
CLS Ad Slot deals with both. It keeps a correctly sized space for every ad from the moment the page appears, so nothing moves when the ad arrives. And it waits to load AdSense until an ad is about to scroll into view, so your own content loads first.
Stable, fast pages matter for the same reasons all performance matters: visitors stay and read, Google uses the Core Web Vitals as a ranking signal, and an ad that appears calmly in a space that was waiting for it is a better experience than one that shoves the article out of the way.
On This Page