Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Preloader delaying your page content: how to find and fix it

PRF-021Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A preloader is a spinner, logo animation or splash screen that sits on top of your page while it loads. It is usually removed by JavaScript on the window.load event. That event fires only after every image, font, script and iframe has finished loading, including slow third-party ones.

Largest Contentful Paint (LCP) measures when the biggest visible element, often the hero image or headline, is painted. Browsers can paint your content early, but if an overlay covers it, the visitor still sees nothing useful. Chrome may count the overlay itself as the LCP element, or the real element once it is visible. Either way the experience is slow.

Why it costs you leads or sales

Visitors from ads and search have little patience. They clicked for an offer, and they get an animation instead. Every extra second before the headline and form appear is a chance for them to go back.

The delay is often worse than it looks. The preloader waits for the slowest resource, such as a chat widget or ad pixel. If one of those is slow or fails, the overlay can stay on screen far longer than planned, or never leave.

Where the preloader sits in the funnel
  1. Ad clickVisitor lands on the page
  2. HTML and hero loadContent is ready to paint
  3. Preloader overlayWaits for window.load
  4. Headline and form visibleSeen late or never
  5. Lead submittedVisitor left first

The page content is ready early, but the overlay hides it until every resource finishes loading.

Time until the visitor sees the offerExample numbers
Time until the visitor sees the offer (example)No preloader: 1.8 seconds; Preloader (waits for load): 4.5 seconds; Preloader (fixed 0.5 s): 2.3 seconds0231.84.52.3No preloaderPreloader (waits for …Preloader (fixed 0.5 …seconds

Example: illustrative numbers for one landing page, not measured data.

How to check if your site has it

Check for a preloader by hand
  1. Load the page on a throttled connection

    Open the page in Chrome, press F12, go to the Network tab and set throttling to Fast 4G or Slow 4G. Reload and watch whether a spinner or logo covers the page.

  2. Record a performance trace

    In DevTools, open the Performance tab and click Reload and record. Look at the Timings lane for LCP and the screenshots strip to see when the content actually appears.

  3. Inspect the overlay

    Right-click the spinner and choose Inspect. Look for an element with a name like preloader, loader, loading or splash, with position fixed and a high z-index.

  4. Test with JavaScript blocked on one script

    In the Network tab, right-click a third-party request (a chat widget, for example) and choose Block request URL. Reload. If the overlay stays, it depends on that script and can hang in real life.

  5. Run PageSpeed Insights

    Test the URL at pagespeed.web.dev on mobile. Check the LCP element and the filmstrip. A large gap between first paint and the content appearing points to an overlay.

How to fix it

The best fix is to remove the preloader. A page that loads fast needs none. If your brand needs one, make it short and make it leave on a timer, not on window.load.

Remove or shorten the preloader by platform
  1. Find where it comes from

    It is usually a theme option (look under Appearance > Customize or the theme's options panel for Preloader or Page Loader) or a plugin. Check Plugins for anything named preloader or loader.

  2. Turn it off

    Switch the preloader setting to Off, or deactivate the plugin. Clear your caching plugin and CDN cache afterwards.

  3. If you need it

    Set a short fixed duration in the theme option if one exists, or use the custom code in the Custom code tab.

Hide a preloader after a short, fixed timejavascript
// Assumes your overlay is <div id="preloader">
(function () {
  var el = document.getElementById('preloader');
  if (!el) return;
  function hide() { el.style.display = 'none'; }
  // Hide when the DOM is ready, but never later than 800 ms
  document.addEventListener('DOMContentLoaded', function () {
    setTimeout(hide, 300);
  });
  setTimeout(hide, 800);
})();
Preloader behaviour

Before

  • Overlay waits for window.load
  • Slow third-party scripts keep it on screen
  • Headline and form hidden for seconds
  • LCP pushed back

After

  • No overlay, or a fixed 0.3 to 0.8 s one
  • Content visible as soon as it is painted
  • Page works if a script fails
  • LCP reflects the real hero element

How to confirm it's fixed

Confirmation checklist
  • Reload the page with Slow 4G throttling: no overlay covers the content.
  • The headline, hero and form or button are visible as soon as they load.
  • Block a third-party script in DevTools and reload: the page still shows normally.
  • The Performance trace shows LCP at the real hero element, not the overlay.
  • PageSpeed Insights mobile LCP is lower than before.
  • Test on a real phone with the cache cleared.

How to prevent it happening again

Prevention
  • Agree a rule with designers: no full-screen intro on landing pages or checkout.
  • Never tie an overlay to window.load or to third-party scripts.
  • Always add a failsafe timer so the overlay cannot stay on screen.
  • Re-test LCP after theme updates, new plugins or new animations.
  • Check the page in a throttled mobile trace before each campaign launch.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It checks LCP only: a robot visitor loads your funnel steps on a schedule, and if the LCP is slow, which a preloader can cause, you can see it. It does not identify the preloader itself, tell you that an overlay is the cause, or measure how long the overlay stays on screen.

To cover the rest by hand, use the checks above: look at the filmstrip in a throttled DevTools trace, inspect for a fixed full-screen loader element, and block a third-party script to see whether the overlay hangs. When FunnelGuard flags a slow LCP on a step, run those checks first. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Does a preloader hurt SEO and Core Web Vitals?

It can. A preloader that covers the page delays when visitors see your content, and it can push back LCP, which is one of the Core Web Vitals. Removing it or keeping it very short avoids this.

Why is my website showing a loading animation for so long?

Most preloaders wait for the window load event, which fires only after every image, font and script has finished. A slow third-party script, such as a chat widget or tracking pixel, can keep the animation on screen. Switch to a fixed short timer or remove it.

How do I remove a preloader in WordPress?

Check your theme options under Appearance > Customize for a Preloader or Page Loader setting and turn it off. If it comes from a plugin, deactivate that plugin. Then clear your cache and test the page again.

Should I use a splash screen on a landing page?

Usually no. Visitors from ads want to see the offer and the form straight away, and a splash screen adds a delay with no benefit to them. If you keep one, make it under a second and never dependent on full page load.

How can I tell if a preloader is causing my slow LCP?

Record a Performance trace in Chrome DevTools with throttling on and look at the screenshot strip. If the page content is downloaded but a spinner or blank screen is still shown, the overlay is the cause. You can also inspect the element and look for a fixed, full-screen loader.

Is it safe to hide the page with CSS until JavaScript loads?

No. If the script fails, is blocked or is slow, visitors see a blank page and cannot use your form or button. Always add a timer-based failsafe so the content appears anyway.

Can FunnelGuard detect a preloader on my site?

Only partly. FunnelGuard checks LCP on your funnel steps, so a slow result can point to a problem, but it does not identify the preloader or measure how long it shows. You confirm the cause with the manual checks in this guide.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: LCP only.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.