Skip to content
All writing

The free course had a wall in it and nobody had noticed

The gym sells a nutrition assessment. To bring people to it, I wrote a free eight module course on metabolic health and put it on its own site. Over its life, two people filled in the email form on that site. Neither of those emails could open modules 3 through 8.

I want to be precise about what that means, because it is not a conversion problem. The form said, in as many words, "All 8 modules, no cost." The site could not deliver all 8 modules to the people who filled in that form. It was not underperforming. It was breaking a promise.

For months the working theory was that the content was not landing. Rewrite the openings, cut the density, make module 1 less like a paper. I wrote all eight modules, so that theory pointed at me and nobody had to be tactful about it.

I still do not know whether the content was a problem. Almost nobody got far enough to have an opinion about it.

The wall

The site's auth.js reads a module number out of the URL and treats anything from 3 to 8 as gated. For a visitor without an account it built a fixed overlay covering the full viewport, set document.body.style.overflow = 'hidden', and rendered a box reading "Modules 3 through 8 require a free account. Sign up in 10 seconds, no credit card needed."

The box had two controls: a sign up button and a link saying "Already have an account? Log in." No close button. No escape key handler. Scroll locked underneath it. And there is no forgotten password flow anywhere on the site, not even a stub. Anyone who made an account and forgot the password had no route back in at all.

So the honest description of the free course is that six of its eight modules were behind an account wall with no exit.

Now the part that turns a bug report into a business story. Leads and accounts were two separate tables, leads and user_accounts, and the lead handler wrote a row to leads and never created a session. The email form and the account system had no relationship to each other. So the two people who did the thing the site asked them to do, who gave an email in exchange for all eight modules, stood in exactly the same place as everyone who gave nothing.

Two out of two. That is the entire converted population of that funnel, and there was no code path that would have let either of them through.

The popup that fired mid-read

The lead capture script built a banner and called lockScroll() when it did. According to the audit notes I took at the time, the trigger was 40 seconds on the page, or 55 percent scroll depth, whichever came first.

Measured average time on module 1 was about 70 seconds.

If both of those numbers are near right, the freeze landed mid-read on the only module most people ever opened. The mechanism is not in doubt even if the timing is: the page stopped moving until the reader dealt with the banner.

The one that made the other two matter

The service worker was cache-first with a hardcoded cache name: var CACHE_NAME = 'metfix-v1';, and a fetch handler that checked caches.match before it went anywhere near the network. Every returning visitor was pinned to the build they first loaded.

That is why all three had to deploy together, before any traffic arrived. Fixing the wall on its own would have shipped a fix that returning visitors never received.

The second-order effect is worse than the delay. A cache like that does not just hide your fix, it poisons every experiment you run afterwards. Suppose I had removed the wall and watched the numbers for two weeks. Part of my sample would still be served the broken build, the result would come back flat, and I would have concluded, with data, that the wall was not the problem.

old: the content is not landing, so rewrite the content
new: can a stranger reach the thing I am measuring at all

The asset that was already working

The counter-evidence was sitting in the analytics the whole time, and it is the thing that cracked this open.

The site has a metabolic flexibility calculator. It held attention far longer than the course did: 14 users at roughly 4 minutes average, against about 70 seconds on module 1. Small numbers, and I will come back to that, but the ratio is not subtle.

The calculator page has five tabs. The tab it opens on is called "How RQ is Measured", which is an essay about indirect calorimetry. Blood marker proxies, a HOMA-IR calculator and a TG/HDL calculator come next. The one part that asks nothing of you, a 10 question assessment that needs no blood test, is the fifth tab, which on a phone sits off the right edge of the screen.

And finishing it did nothing. No email capture, no next step, no analytics event, which is also why I cannot tell you how many people finished it. server.py does define an /api/assessment endpoint that no front end code calls, but it returns 401 unless you are logged in, so even wired up it would have saved a score only for people who already had an account.

That is the shape of the whole problem. The site had one asset that genuinely held attention, and every navigation decision around it pointed somewhere else.

The complaint that was not a bug

There is a second thread here, same lesson, different system.

The complaint was: people sign up and get no email. That sounds like a broken mailer, and I went looking for one. Email was never broken. A user had typed gmail with two letters transposed. SendGrid accepted the address and returned 202, the recipient bounced, and the address landed on the invalid addresses suppression list. The whole reported failure was a typo.

But chasing it turned up three real defects that nobody had reported, because nothing about them was visible. First, print() is block-buffered under systemd, so the send confirmation lines never reached the journal at all. The logging looked like silence and the silence looked like failure. Second, the lead handler returned early for an address it had seen before and sent nothing, so anyone already in the table got no email by design. Third, people who completed the assessment received the generic welcome email instead of anything about their result.

All three are fixed, along with a typo guard on all six email inputs that offers the correction rather than failing quietly. The false alarm was worth more than a real bug would have been, and I would not have looked without it.

What shipped, and what it does not prove

All of it went out on 2 August 2026. The wall is gone and accounts are now optional progress sync. The popup fires at 90 seconds or 80 percent and does not touch scroll. The service worker is on v3 and network first. The calculator opens on the quiz, with deep links, a result-specific next step and a capture. Every module got a bottom nav. Verified with 20 screenshots across phone and desktop, dark and light.

Here is the limit, stated plainly. This is a repair to a funnel that was structurally incapable of converting. It has not been shown to convert. There is no after number and there will not be one for a while, because the traffic to test it against does not exist yet. The social channel meant to feed this site was scheduled to run its first day on 3 August 2026, one day before I wrote this. Anything I told you about lift would be invented.

On sourcing: the 14 users, the 4 minute average and the 70 second exit come from the site's own analytics on very small samples, and I would treat them as direction rather than measurement. The 40 second popup trigger is from my audit notes at the time, not from a file I can still open, because that script has since been replaced. Two leads is two leads. Nothing in this post is a rounded figure or an estimate dressed up as a count.

What this looks like in other businesses

When a funnel underperforms, the first suspect should not be quality. It should be reachability.

Quality is the most flattering available explanation, and it generates the most agreeable work. Rewriting your own copy feels productive. Opening your own site on a strange phone, with a stranger's email address, and doing exactly what your form promises a customer they can do, feels like nothing. It is the one that finds this class of failure.

The test I would hand to another owner is short. Take the sentence your form makes as a promise, then go and try to receive it on a device with no history, using nothing you know about your own system. Not the path you built. The path you sold.

The second thing that generalises is smaller and meaner. Any caching layer between you and your customer is also between you and your data. If you cannot say what your returning visitors are being served today, every test you run is reporting on a mixture of your old site and your new one, and it will read as "no effect" no matter what you change.

The best argument against me

The strongest objection is that I wrote this code and this copy, I found my own defects, and dressing that up as a lesson is generous to myself.

That is fair, and I would answer it this way. The wall was deliberate. Gate the back half of a course, collect emails, this is a normal idea and plenty of people run it successfully. The failure was not that it existed. It is that its success was measured by how many accounts got created, which is the one number that cannot tell "nobody wants this" apart from "nobody can get to this." Both look like near zero on a dashboard. Nothing in the reporting could have shown the cost of the gate, and that absence is the actual mistake.

The second objection is statistical: two leads is far too small to conclude anything from, so why publish it. Correct, and beside the point. I am not claiming the repair will produce leads, and I have said above that I have no evidence it will. I am claiming the site could not deliver what its own form promised. That is true at two leads, and would have been just as true at zero.

If your funnel is underperforming and everyone has agreed the problem is the content, this is the work Autosterea does before anyone rewrites a word.

First published on ravikantdewangan.com.

Tell us what eats your week.

A free 20-minute call. We'll show you what we would take off your plate.

Book a call