On this page
What this issue is
Most chat widgets (live chat, chatbots, WhatsApp bubbles) load a script after your page. The script adds a small round button, called the launcher, usually in the bottom corner. Cumulative Layout Shift (CLS) is the score that measures how much visible content jumps around while a page loads.
The launcher should float above the page. Sometimes it does not. A widget can be inserted as a normal block at the end of the <body>, add a bar with its own height, or add padding to the page. Then the footer or a CTA moves down or up when the widget arrives.
- Page rendersCTA and footer sit in their first position
- Widget script loadsLauncher is injected into the page flow
- Content shiftsFooter or CTA moves under the visitor's finger
- Click missedVisitor taps the wrong thing or gives up
The page looks fine until the widget script finishes loading.
Why it costs you leads or sales
The impact is usually small, which is why this issue is rated low. But it is real in two cases. First, a CTA that moves just as someone taps it can send the tap to another element. Second, a launcher that sits on top of a sticky CTA, a cookie button or a form submit button on mobile can hide it.
Layout shift also adds to your CLS score, which Google uses as a page experience signal. A single widget rarely causes a bad score alone, but it adds to other shifts on the same page.
Example: illustrative numbers only. A chat widget is a small part of the total, but it can push a page over the 0.1 'good' limit.
How to check if your site has it
Throttle the network
Open Chrome DevTools, go to the Network tab and choose Slow 4G. This makes late-loading scripts easier to see.
Record a load
Open the Performance tab, tick Screenshots, click Reload and record. In the result, open the Experience row and look for red Layout Shift marks.
Click a shift
Click each mark. The Summary panel lists the moved nodes. If you see a footer, a CTA or an element with a chat vendor's class or id, the widget is the cause.
Test on a phone size
Switch to device mode (a phone preset) and check that the launcher does not cover the submit button, sticky CTA or cookie buttons.
Compare with and without
Block the widget's domain in DevTools (Network, right-click the request, Block request domain) and reload. If the shift goes away, you have confirmed it.
How to fix it
The goal is that the widget never changes the position of other elements. Most vendors offer a floating launcher by default, so first check the widget settings. If the launcher is already floating and the shift is still there, use a CSS rule or a delayed load.
Check the widget plugin settings
Open the chat plugin's settings and choose a floating or bubble display, not an embedded bar. Settings differ by plugin.
Add a CSS rule
Go to Appearance, Customize, Additional CSS (or your theme's custom CSS) and add the fixed-position rule shown below, using the vendor's real selector.
Delay the script
If your caching or performance plugin has a delay JavaScript option, add the chat script to it so it loads after interaction.
Check the app embed
In the theme editor, open App embeds and confirm the chat app is set to a floating position.
Add CSS
Edit your theme's CSS file (for example assets/base.css) and add the fixed-position rule using the vendor's selector.
Keep clear of the sticky Add to cart
If your theme has a sticky Add to cart bar, move the launcher up with a bottom offset so they do not overlap.
Find the chat tag
Open the tag that loads the chat script. It is often a Custom HTML tag.
Change the trigger
Switch the trigger from Page View to Window Loaded, or to a timer of a few seconds, so the widget loads after the layout settles.
Publish and preview
Use Preview mode to confirm the tag still fires, then publish.
Place the code in the footer
Add the chat script under Project Settings, Custom Code, Footer Code rather than in a visible block on the page.
Add custom CSS
Add the fixed-position rule in the same Custom Code area inside a style tag, using the vendor's selector.
Open chat widget settings
In Settings, Chat Widget, choose the position and offsets so the bubble sits in a corner and does not overlap your CTA.
Check funnel pages
Open each funnel step in the builder and preview on mobile to confirm the bubble does not cover the form button.
Use the built-in chat
If you use Wix Chat, set the position in its settings and check the mobile view in the editor.
For third-party scripts
Add them under Settings, Custom Code, set to load on all pages in the Body end position, then check the shift again.
Add the script in the footer
Go to Settings, Advanced, Code Injection and put the chat script in the Footer field.
Add CSS
Add the fixed-position rule under Website, Pages, Custom CSS with the vendor's selector.
Load after the load event
Inject the chat script inside a window load listener so it cannot shift the first render.
Take the launcher out of flow
Make sure the container uses position: fixed, with no height added to the body or footer.
/* Replace .chat-launcher with your vendor's real class or id */
.chat-launcher {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 1000;
}
/* Keep the page footer free of extra space added by the widget */
body {
padding-bottom: 0 !important;
}window.addEventListener('load', function () {
setTimeout(function () {
var s = document.createElement('script');
s.src = 'https://example.com/chat-widget.js'; // your vendor's URL
s.async = true;
document.body.appendChild(s);
}, 2000);
});Before
- Launcher injected into the page flow
- Footer jumps down when the script loads
- Launcher covers the mobile submit button
After
- Launcher is position: fixed and floats above content
- Footer and CTA stay in place
- Launcher offset so it clears sticky buttons
How to confirm it's fixed
- Repeat the DevTools Performance recording and see no layout shift tied to the chat widget
- Check the launcher on a phone-size screen and confirm it does not cover any button
- Click the launcher and confirm the chat opens
- Run PageSpeed Insights and compare the CLS value with the earlier result
- Test the key funnel pages, not just the home page
How to prevent it happening again
Chat vendors update their scripts without telling you, and a layout that was fine last month can change. Re-check after you change the widget, the theme, the cookie banner or any sticky bar.
- Re-test CLS after every widget, theme or plugin update
- Keep a fixed offset for the launcher so it clears sticky CTAs
- Load chat after the main content, not before
- Check mobile as well as desktop
- Keep a short list of the funnel pages where the widget appears
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks CLS only: when the robot visitor runs your journeys on a schedule, it measures layout shift on the pages and steps, so a chat widget that pushes content and raises CLS can show up in that score.
It does not tell you that the chat widget is the cause, and it does not check whether the launcher visually covers a button or footer link. To cover the rest by hand, use the DevTools steps above to find which element moved, and look at your key pages on a phone-size screen after each widget or theme change.
If you want a regular CLS check on your funnel steps, the Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial.
Questions people ask
Why does my chat widget make my page jump?
The widget script loads after the page and may add its launcher to the page flow instead of floating above it. When it appears, it pushes the footer or other content, which shows up as layout shift. Making the launcher position: fixed or loading it later usually stops the jump.
Does a chat widget hurt my CLS score?
It can, if it moves content when it loads. A floating launcher that is positioned fixed normally causes no shift. You can confirm by recording a page load in Chrome DevTools and checking whether the widget's elements appear in the Layout Shift entries.
How do I stop a chat bubble covering my CTA button on mobile?
Move the launcher with a bottom or side offset in the widget settings or with CSS, so it clears sticky buttons and form submit buttons. Then check on a phone-size screen. Some vendors let you hide the launcher on certain pages.
Should I delay loading my chat widget?
Often yes. Loading it after the window load event, or a few seconds later, keeps it from competing with your main content. Make sure it still appears and works for real visitors afterwards.
How do I find out which element is causing layout shift?
Open Chrome DevTools, go to the Performance tab, record a page reload and open the Experience row. Click each red Layout Shift mark and the Summary panel lists the elements that moved.
Is a chat widget layout shift a serious problem?
Usually it is low impact. It matters most when it moves a CTA as someone taps it, covers a button on mobile, or pushes a page over the 0.1 CLS limit together with other shifts.
Can FunnelGuard tell me my chat widget is causing layout shift?
Only partly. FunnelGuard checks CLS on your journeys, so it can show that layout shift is high, but it does not identify the chat widget as the cause or check whether the launcher covers a button. You confirm that by hand in DevTools.
Related issues
- PRF-025CLS over 0.1 on a funnel stepFix guide
- PRF-026Cookie banner pushes content down, CLS 0.3Fix guide
- PRF-027Promo/announcement bar injected at top after loadFix guide
- PRF-029Embeds (YouTube, Instagram, reviews widget) resize after loadFix guide
- PRF-034Late-loading price or stock widget shifts Add to cart buttonFix guide
- PRF-038CTA moves just as user taps it (mis-click onto other element)Fix guide