The landing page on larn.site scored 56 on mobile PageSpeed and sent every buyer through a full WooCommerce checkout. I rebuilt it as one page with the order form built in, and it now scores 99 on mobile. Orders still land in WooCommerce, the Facebook Pixel and GA4 still fire, and the owner can make new landing pages without me. Here’s what was slowing it down, the custom plugin I wrote to replace the checkout, and the font problem that nearly cost me the last 20 points.

Hasan Nasim runs Larnify and sells a digital course bundle in Bangladesh from larn.site. Almost all of his traffic comes from Facebook ads, almost all of it is on phones, and people pay by bKash or Nagad. So the whole business is basically one page: someone taps an ad, reads, and either orders or leaves.

Hasan came to me with a simple question: can this page get to 95 or above? I said probably yes, but not by adding another plugin. The way the page was built was the real problem.

The page and its stack

  • WordPress with the Astra theme, Elementor and Elementor Pro
  • WooCommerce, with CartFlows and CartFlows Pro handling the funnel
  • A bKash/Nagad manual payment plugin, plus a second one that was installed but switched off
  • Google Tag Manager (through GTM4WP) running the Meta Pixel, GA4 and Google Ads
  • 22 active plugins in total, on LiteSpeed hosting with no page cache

The homepage wasn’t a normal page. It was a CartFlows checkout step set as the front page, so the sales copy and the WooCommerce checkout lived on the same URL.

What was slowing the page down?

I started by listing every file the homepage loaded. That list explained most of the score by itself.

  • 47 scripts and 60 stylesheets. Because the page was a checkout, it loaded the whole WooCommerce checkout stack, CartFlows and CartFlows Pro, Stripe (which nobody used in Bangladesh), cart abandonment tracking, a variation swatches plugin for a store with no variable products, and a template preview script left behind by Starter Templates.
  • Font Awesome twice. Version 4 shims and version 5, some of it loaded minified and unminified.
  • Four Google Font families with 18 weights each. Roboto, Roboto Slab, Poppins and Anek Bangla, every weight from 100 to 900 plus italics, and the page used maybe five of them.
  • 2.7 MB of PNG images. One Kaaba photo alone was over 1 MB, and it appeared on the page twice.
  • No page cache. The server sent no-store because the page was a checkout, so every visit rebuilt the page in PHP. The first byte took around a second.

On top of that, the theme added about 93 KB of inline CSS to every page, and Elementor’s global styles added another 15 KB. None of it was needed on a page built entirely in Elementor.

The bug nobody had noticed

While checking the payment setup I opened a few recent orders. The fields for the customer’s bKash or Nagad number and transaction ID were empty. I looked at the gateway settings and found the reason: the number, the instructions and the account type were all blank. The numbers people saw on the page came from somewhere else, and the plugin wasn’t saving what customers typed.

For a business that checks payments by hand, that’s a big deal. The owner had orders coming in with nothing to match against his bKash statement. Nothing in the speed report would ever have shown this, which is one reason I always look at real orders before I touch a checkout.

Why I replaced CartFlows instead of tuning it

CartFlows is a good tool when you need order bumps, upsells and A/B tests. This page used none of that. It used one thing: a form at the bottom of the landing page. To get that one form, every visitor downloaded the full WooCommerce checkout, got a session cookie, and got a page the server refused to cache.

I could have spent days deferring and excluding scripts and still ended up around 85. The owner had two clear requirements: the order has to finish on the landing page itself, and every order must still show up in WooCommerce, because he plans to sell more products. That combination pointed to a small custom plugin.

The order form I built into the page

Mobile mockup of the rebuilt larn.site landing page: order form on the same page, bKash and Nagad payment with transaction ID, orders saved in WooCommerce, Pixel and GA4 tracking
The rebuilt larn.site landing page on a phone.

The plugin is small. A shortcode puts the form anywhere on the page, and the owner gives it a product ID. The customer enters a name, phone and email, picks bKash or Nagad, sees the number with a copy button, sends the money and types the transaction ID. The form posts to a REST endpoint, which creates a normal WooCommerce order on hold with the payment details saved, then sends the customer to a thank-you page.

A few details I cared about:

  • Orders look like any other WooCommerce order. The usual emails go out, and I added a column to the orders list showing the payment method, sender number and transaction ID, so checking a payment takes seconds.
  • The same transaction ID can’t be used twice. There’s also a honeypot field and a simple rate limit, since the endpoint is public.
  • Emails are sent after the customer gets a response. At first the order button felt slow, because the server waited for two emails to send before answering. On LiteSpeed I can flush the response to the browser first and send the emails right after.
  • Settings the owner can change himself. Payment numbers, WhatsApp number, the offer countdown date, the course access link on the thank-you page, the button text, all from one settings screen in WooCommerce.
  • New landing pages without me. He creates a product, duplicates the page in Elementor, changes the product ID in the shortcode, and that’s it.

The page itself is still Elementor, built with plain heading, image, text and button widgets, so he can edit every word and image. I named every section in the Navigator in Bangla so he can find things without guessing.

How I got from 56 to 99

With the checkout gone, the rest was about making the page download less and paint once.

Removing what the page never used

The landing page doesn’t need jQuery, Elementor’s frontend JavaScript, the theme’s scripts, Font Awesome or WooCommerce’s cart scripts. The plugin removes them, but only on pages that use its shortcode, and only for visitors. When the owner is logged in, everything loads as normal so the admin bar and the Elementor editor keep working. The page’s own small stylesheets are printed inline in the head, so the browser doesn’t wait on six separate CSS requests. The page now loads one script of its own.

I also deactivated 14 plugins the site no longer needed and switched the theme to Hello Elementor, going from 22 active plugins to 8.

Images: 2.7 MB down to 230 KB

Every image was converted to WebP and resized to the size it actually displays at. The 1 MB Kaaba photo became 56 KB. Seven images went from 2.7 MB to roughly 230 KB, with no visible difference on a phone.

The Bangla font problem

This took longer than everything else combined. After cleaning up the scripts the score jumped into the 90s, but every few runs it fell back to the high 70s. The cause was layout shift. Bangla text in a web font is a different width from the phone’s built-in Bangla font, so when the font arrived the headline wrapped differently, the hero got taller, and everything under it jumped. Lighthouse measured that at 0.47 CLS, which is terrible.

Here’s what I tried:

  • font-display: optional fixed the shift completely, but first-time visitors on a normal mobile connection often got the system font instead of the real one. The design the client approved wouldn’t be what his customers saw, so I didn’t keep it.
  • Smaller font files. Anek Bangla is a variable font, and its Bengali file was 152 KB, most of it data for weights the page never uses. I cut two static weights, 400 and 800, at around 50 KB each, and I dropped the second font family. Faster, but the shift still happened sometimes.
  • Holding the first paint until the fonts arrive, for at most 1.2 seconds. This is what worked. The two font files are preloaded, and the page stays hidden until they’re ready or the time runs out. Visitors see the page once, in the right font, and nothing moves after that. CLS went to 0.

If you build sites in Bangla, Hindi or any script where the fallback font is a very different width, I’d check this first when CLS jumps around between runs.

Pixel and GTM after the first tap

GTM, gtag and the Meta Pixel together blocked the main thread for close to two seconds on a mobile test. They now load on the visitor’s first scroll, tap, click or key press, or after 12 seconds if the visitor does nothing. The thank-you page loads GTM straight away, so purchase conversions are never delayed.

My first version of this had a bug that would have cost the client data. Because GTM loaded later, the view_item event landed in the data layer before the gtm.js event. When GTM finally loaded and replayed the queue, the product event came before the page view, so tags that depend on the base Pixel having fired first could miss it. The fix was to push the gtm.js event at the normal time and delay only the script download. Then I loaded the page both ways, normal GTM and delayed GTM, and compared the requests. The Pixel, GA4 and Google Ads fire the same way in both.

Page cache

Without the checkout, the landing page could finally be cached. I installed LiteSpeed Cache with page caching only. The first byte went from around a second to about 0.1 seconds. The thank-you page is excluded because it shows a specific order, and saving the plugin settings clears the cache so a new payment number or countdown date shows up right away.

How I kept the live page safe

Hasan was running ads the whole time, so the old page stayed live until the new one was finished. I built everything as drafts and gave him a private preview link that works without logging in, so he could check it on his own phone. I tested the order flow on the server with emails turned off, then deleted the test order. He took a full backup, and before switching the front page I saved the old front page setting and the full plugin list, so going back would take one step. The old checkout URL still works too. WordPress now redirects it to the new homepage, so old ad links don’t break.

Results: before and after

Before and after for larn.site: PageSpeed mobile 56 to 99, Best Practices and SEO to 100, CLS 0.47 to 0, images 2.7MB to 230KB, active plugins 22 to 8, server response about 1s to 0.1s
The numbers that changed the most.
MetricBeforeAfter
PageSpeed mobile, performance5699
Accessibilitynot saved98
Best Practicesnot saved100
SEOnot saved100
Agentic Browsingnot saved2/2
Scripts / stylesheets on the page47 / 601 / 0 external
Images2.7 MB~230 KB
Active plugins228

The scores in the first five rows are from PageSpeed Insights. I only saved the performance score from the original page, so the other categories show the final result only. In my own Lighthouse runs the desktop score is 100, CLS is 0, and the server responds in about 0.1 seconds from cache. Mobile scores move a couple of points between runs, which is normal, so I tested several times before calling it done.

What I took away from this one

Most of the score came from one decision: not making a simple order form carry a full checkout system. After that, the work was mostly removing things and checking each change. The part I didn’t expect was the font. I’ve done plenty of speed work in English, and the fallback font almost never causes this much shift there. In Bangla it was the single biggest problem once the scripts were gone.

If you want to compare, my Core Web Vitals case study is a WooCommerce store where the slow part turned out to be an old domain, not the checkout.

Frequently asked questions

Can I take orders on a landing page without a WooCommerce checkout page?

Yes. A form on the landing page can create a normal WooCommerce order through code, so you keep order history, emails and reports. That’s what I built here. The visitor never loads the cart or checkout scripts.

Why is my CartFlows landing page slow?

When the landing page is also the checkout step, it loads the full WooCommerce checkout, CartFlows scripts and a session cookie on every visit, and the server usually won’t cache it. If you don’t use order bumps or upsells, a lighter form is often the better choice.

Does delaying the Meta Pixel stop tracking?

No. The Pixel still loads and fires, just on the visitor’s first scroll, tap or click instead of during page load. The only visits you miss are people who leave within about 12 seconds without touching the screen. Keep the event order the same as before, or some tags can misfire.

Why does my Bangla website have high CLS?

Usually it’s the web font. Bangla web fonts are often a very different width from the phone’s built-in font, so when the font loads the text rewraps and the layout moves. Smaller font files and holding the first paint briefly until the font is ready fixed it here.

Can the owner still edit the page after this?

Yes. The page is built with normal Elementor widgets, so every text and image can be edited. Payment numbers, the countdown date and the course access link are in a settings screen, and new landing pages only need a new product ID.

Is your landing page losing orders to a slow checkout?

If you’re paying for ads and sending people to a slow page, you’re paying for some visits that never even see it load. Have a look at my WordPress speed optimization service or my WooCommerce work. Or just send me your page on WhatsApp or Facebook, and I’ll tell you what I’d look at first.