How to Build a 'Paywall' That Doesn't Break the Web

Last weekend, my sideproject Longshot Magazine, created a new issue of our publication. As part of that, we decided to try to build a new kind of paywall. Our editors and developers got together and came up with some requirements for the kind of paywall we wanted:

  • It would encourage, not discourage, sharing.
  • It would be porous.
  • It would allow you purchase the magazine for a variable amount of money, including paying with social capital. ("Pay what you want.")
  • You'd only have to pay once to get access on all of your devices.

In short, this was a complex little project. And we realized it wasn't exactly a paywall. It was more of a "nagwall" because you could make it go away anytime you wanted to for free. I think Choire Sicha of The Awl had it just right when he wrote about the spirit of the thing, "It's a direct ask for something people can give. It's definitely not a demand. It's good-humored. And it's a relatively simple interface. I'd love to see what people build on from there."
Keep in mind that our (ridiculously talented and dedicated) developers Matthew Gerring, Joey Baker, Kevin Koehler, Heather Billings, and our digital lead Adam Hemphill only started on this thing late Friday night. It was done by the end of Sunday.

I wondered on our email list how they'd managed to do it. Gerring responded and gave me permission to post that here. 

Technically, the nag wall is really simple -- it's just a javascript popup that checks for a cookie. We set which stories will have the nag wall turned off in the backend -- it's on by default.

There are several levels of "rewards" depending on how you interact with the paywall. Sharing will turn off the nag wall for 1 year, or until you clear your browser cache, view the article in a different browser or on a different computer. Donating some money lets you register an account -- if you're logged in, the nag wall never appears. You also get some extra features on the site if you have an account.

Like the New York Times paywall, people who poke around in the source code should be able to figure out how to turn it off without interacting with it at all. For the adventurous, there are also a couple of easter eggs that defeat the paywall in amusing ways (but I'm not giving them away here).

By doing all this, we turn the paywall into a game instead of an obligation, because what we're really after is engagement, not your money.

Baker added:

That's pretty much it -- the only thing I'd say is that it was implemented quickly and without security in mind. It's both slightly buggy and really, easy to defeat. But, that was a choice -- we could have easily built a more draconian system that demanded homage to the Nagwhal before allowing passage.

My takeaway is that the technical resources are not really the issue when it comes to paywalls. We are limited mostly by our creativity and the legacy feelings we have about how people "should have to pay" for the creative work we produce. Once we realize that there are multiple currencies that are actually all pretty valuable for publications, then we open up a lot more options for payment, and we don't break the web.

Presented by

The Horrors of Rat Hole Mining

"The river was our source of water. Now, the people won't touch it. They are repulsed by it."

Join the Discussion

After you comment, click Post. If you’re not already logged in you will be asked to log in or register with Disqus.

Please note that The Atlantic's account system is separate from our commenting system. To log in or register with The Atlantic, use the Sign In button at the top of every page.

blog comments powered by Disqus


The Horrors of Rat Hole Mining

"The river was our source of water. Now, the people won't touch it."


What's Your Favorite Slang Word?

From "swag" to "on fleek," tweens choose.


Cryotherapy's Dubious Appeal

James Hamblin tries a questionable medical treatment.


Confessions of Moms Around the World

In Europe, mothers get maternity leave, discounted daycare, and flexible working hours.


How Do Trees Know When It's Spring?

The science behind beautiful seasonal blooming

More in Technology

Just In