Saturday, July 13, 2024
Google search engine



A commentary on the overuse of persuasion tactics in e-commerce, and a Chrome Extension to reduce them.

Project:  Opinion piece, Chrome browser extension

Role:  Concept development, product design and engineering

Date:  23rd July 2019

Update April 16th – Hello HN readers!

Today this article was shared on Hacker News and the post is gathering some fantastic comments – thanks to everyone who’s clicked through! For those who started here first, here’s the HN link.

Yubi Onboarding Screens

Illusions of scarcity

I use quite a lot. Since moving to the Netherlands my family, friends and often my work are an overnight stay away. And it’s great– there are a huge range of options, and a simple booking process. I’m pretty reliant on it a lot of the time.

Yubi Onboarding Screens

But using makes me stressed, because regardless of how far in advance I’m planning, how many hotels are actually available or how off-season I might be, messages like the one above do their very best to make me feel like I’m dangerously close to sleeping on a bench for my forthcoming trip to Munich unless I click the button NOW! NOW! NOW!I’m sure it didn’t start like this. Airbnb for example also uses messages to indicate how busy a certain destination is looking, but theirs tend to feel factual and informative, not deliberately stress-inducing. I guess it started this way at too and in fact some of the messages shown on their site are kind of helpful…

Yubi Onboarding Screens

Though alarming, this message on is useful. I can see there are two rooms left, and the last booking was less than a day ago. I need to get my skates on if I want to book this one.

Yubi Onboarding Screens

A more straight-forward message from

But somewhere along the line perhaps these informative messages proved too effective in raising conversion rates to resist pushing further. They started to move into a darker territory, deliberately attempting to create a sense of scarcity where there really wasn’t.

Consider this one:

Yubi Onboarding Screens

What are we saying here, Some properties were just booked in Yamanouchi. Ok, when? For the same dates as me? And properties like the one I’m looking at have been booked. So not the one I was looking at, just one like it.

This is not helpful data, it’s a tenuous statistic dressed up to make me think my accommodation options are running out.

Yubi Onboarding Screens

The HTML code on the page marks out many of the messages using CSS classes the developers have named ‘persuation’ (sic).

This doesn’t feel like a healthy way of selling. Apart from raising my anxiety levels during what should be the enjoyable process of planning a trip, if I’m being presented not with clear availability stats but unqualified red-alert scarcity warnings then I start to mistrust the site.

Of wider concern is that this approach is being increasingly emulated across the web, and various marketeers can be found applauding for the effectiveness of their methods, touting their use to increase conversion rates.

Yubi Onboarding ScreensYubi Onboarding Screens

Unqualified high-demand fluff on

Last booked 3 minutes ago, but for what dates?

Yubi Onboarding Screens

Outside of the travel industry, Chain Reaction Cycles provides an example of the same tactic in creating a sense of urgency

Begone, stressy messages

I decided it was time to fix, at least for my own purposes.

I had been experimenting with Chrome Extensions for a while, and proudly launched a previous extension called Cole, which pulls objects from the V&A museum’s collection, by using the new tab event trigger.

Handily, Chrome extensions can also be used to manipulate the content of the web page you’re currently on, and herein lay the solution.’s CSS tags in the page’s code are often named for their purpose, and called things like ‘persuasion’, ‘urgency’, ‘scarcity’ etc. This made them easy to find and through some simple CSS overrides, hide from the page.

Yubi Onboarding Screens

One of the site’s CSS class names, ‘motivate-messages’, and the CSS override in the Extension code which hides it.

Hiding the horrors

It took a few days of using to note down all of the different nudges, alerts, notifications, pop-ups, etc (in the end there were 35 different class names across three pages, and multiple instances of each one) and get them hidden. Along with this, hotels that are already sold out for your chosen dates are hidden altogether, and various ‘great value today’ notices are silenced to further reduce noise.

A more positive tone of voice

The next step was to tweak some of the wording on the more useful items. Some of the language is unnecessary, scolding even. Look at this one, which appears if you hesitate on the check-out page for just a few seconds:

Yubi Onboarding Screens

Relax, I’m about to book!

No red alerts here, but the page manages to squeeze in a notice that someone just looked for the same dates, and like a parent warning their child not to eat all the candy in one sitting, we are told “when it’s gone, it’s gone”. Not helpful and not very pleasant either, especially on a page where I’m probably about to book anyway. So we can make this a bit nicer:

Yubi Onboarding Screens

The ‘calm’ emoji marks out any text that’s been manipulated by the extension, so the user is aware

The red warnings that are presented when a certain room type has gone were also improved, as were items like “See our last available rooms” on CTAs, which was changed to a more positive “See available rooms”.

Yubi Onboarding Screens

Yubi Onboarding Screens

Throwing out the bathwater, not the baby

As we’ve said, some of’s messages are useful, if a bit alarmist. How then to allow the helpful notices to get through, while still filtering out the unhelpful ones?

Taking the view that the ‘x rooms left’ notices are probably the best indicator of actual scarcity, I began looking at a way to allow messages to be shown if only one of a particular room was left. Unless I’m looking at the Ritz Piccadilly at New Year, knowing that there is more than one room available is probably enough for me not to panic-book.

However, that might depend on a few different factors, and personal preference. The answer then, might be to provide a user-setting to set the level of filtering.

Yubi Onboarding Screens

4 levels of filtering are available: 0 means no ‘x rooms left’ notices are shown, and 4 means all are shown

This was achieved with Chrome Extension Settings, with Chrome Storage used to capture the preference. With a lot of fiddling and some Regex magic, certain notices were now allowed through depending on the level of filtering set. The warnings themselves however still looked alarmist, so a bit of work on tone of the voice and the visual was needed here too. The end result is a lot calmer and more positive:

Yubi Onboarding ScreensYubi Onboarding Screens


And after

Read More



Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments