Core Web Vitals: how to avoid CLS issue?
Cumulative Layout Shift (CLS) is a Core Web Vital metric used to gauge visual stability of the website. It helps to measure the frequency of unexpected layout shifts experienced by users. These sudden shifts can significantly disrupt user experience, causing users to lose track of content, misclick or interact with unintended elements.
CLS issues may arise when the CTA is dynamically loaded between significant elements, such as the product image and gallery.
Given that the Tangiblee CTA loads after all other elements on the page are prepared, selecting the appropriate placement is essential for mitigating this concern.
How can CLS issue be minimized and prevented?
1. The most preferable way is injecting Tangiblee CTA into a designated place by absolute positioning. It’s easy to notice for users and it doesn’t overlap relevant content on PDP.
![Ring with VTO CTA Tangiblee](https://cdn.prod.website-files.com/6125ee5e44f54b746e2b7c3b/669a6c6a03624a0c927080f2_Untitled%20(5).png)
2. Using a container for Tangiblee CTA provided by client, specifying container ID and classname.
NOTE: please make sure to set dimensions when creating a container so that it occupies a specific spot on the page.
![Ring Steinen silber](https://cdn.prod.website-files.com/6125ee5e44f54b746e2b7c3b/669a6c8cda5819916e1ffd40_Untitled%20(6).png)
3. Thoughtful design selection is essential. Utilizing whitespace effectively on the page offers a great opportunity to seamlessly integrate the CTA, provided there is sufficient space available for its insertion.
![](https://cdn.prod.website-files.com/6125ee5e44f54b746e2b7c3b/669a6ccd39370fc45bdf587e_Untitled%20(7).png)
![](https://cdn.prod.website-files.com/6125ee5e44f54b746e2b7c3b/669a6ce3ca82c5971c79af57_Untitled%20(8).png)