Designing Behavior for Others — Ethically

By Pritesh Yadav 14 min read

Every product you build is a behavior-design machine, whether you planned it that way or not. A button placement, a notification timing, a progress bar — each one nudges people toward an action. The question is not whether you are shaping behavior. You always are. The question is how consciously you do it, and in whose interest.

This section is about wielding behavioral science as a builder — honestly. We will cover how engagement mechanics actually work (the psychology under the hood), where the ethics line sits, and a set of concrete tests you can run on your own product to stay on the right side of it.


How Retention and Engagement Actually Work

Before you can behave ethically, you need to understand the tools. Engagement is not magic — it is applied behavioral science. Here are the main levers.

The Hook Model (Nir Eyal)

In his 2014 book Hooked, researcher and author Nir Eyal described a four-step loop that habit-forming products run over and over:

  TRIGGER
  (external: notification, email, ad)
  (internal: boredom, anxiety, loneliness)
       |
       v
  ACTION
  (the simplest behavior in anticipation of a reward)
       |
       v
  VARIABLE REWARD
  (the payoff — but unpredictable in size or timing)
       |
       v
  INVESTMENT
  (the user puts something in: data, content, time, social connections)
       |
       v
  TRIGGER  (now mostly internal — loop tightens)

Each pass through the loop builds a stronger habit. The trigger moves from external (a push notification) to internal (you open the app automatically when you feel bored). That shift — from external nudge to internal craving — is what separates a habit from a one-off action.

Example: Duolingo has over 37 million daily active users returning to chase streaks and XP points. The trigger starts as a daily reminder notification; after a few weeks it becomes "I feel guilty if I miss a day" — a pure internal trigger.

Variable Rewards — Why Unpredictability Is Addictive

The most powerful element in the Hook Model is the variable reward — a payoff that varies in size or timing so you can never quite predict what you will get. This is not new: psychologist B.F. Skinner showed in the 1950s that animals on a variable-ratio schedule (reward comes after an unpredictable number of responses) press a lever far more than animals rewarded every single time.

Social media feeds are a textbook variable reward machine. Every scroll might reveal something exciting or nothing at all. That unpredictability triggers the brain's dopaminergic system — the same circuit that fires for gambling and drugs.

Analogy: A slot machine pays on a variable schedule. If it paid every third pull, people would pull three times and walk away. Because it might pay on the next pull — or the tenth — players keep going. Social feeds, email inboxes, and notification badges work the same way.

Progress Bars and the Endowed Progress Effect

A progress bar is not decoration. It is a behavioral trigger. Two well-documented psychological effects explain why:

  • Zeigarnik Effect — named after Soviet psychologist Bluma Zeigarnik, who noticed in the 1920s that people remember unfinished tasks far better than completed ones. An open progress bar is an unfinished task your brain keeps wanting to close.
  • Endowed Progress Effect — people work harder toward a goal when they are given a head start. If you give a user a checklist with the first item already checked ("Account created ✓"), they complete more steps than if the checklist starts at zero. The artificial head start makes the finish line feel closer.

This is why good onboarding flows show "3 of 5 steps complete" immediately after sign-up. Research shows 25% of apps are used only once — a well-designed onboarding that uses these effects dramatically narrows that gap.

Streaks and Loss Aversion

A streak is a count of consecutive days (or sessions) a user has performed an action. Streaks work through loss aversion — the well-established finding (from Kahneman and Tversky's Prospect Theory, 1979) that losing something hurts roughly twice as much as gaining the equivalent thing feels good. Apps using streak mechanics see up to 35% higher daily active user rates compared to those that rely on positive rewards alone.

Common mistake: Streaks become coercive if the cost of breaking them is high (paid features lost, public shaming, heavy guilt messaging). A streak that makes users feel anxious rather than motivated is no longer good design — it is a cage.

Notifications — The External Trigger That Can Turn Toxic

Notifications are the most direct behavior-design lever you have. They literally interrupt a person's life. The ethical rule is simple: a notification should earn its interruption. It should deliver real value to the user at that moment — not just pull them back to your engagement metrics.

Key takeaway: Retention and engagement mechanics (variable rewards, progress bars, streaks, notifications) are powerful, well-understood tools from behavioral science. Knowing how they work is step one. Deciding when to use them — and when not to — is the ethical challenge.

The Ethics Line: Persuasion vs. Manipulation

The word "persuasion" means helping someone make a decision that serves them. The word "manipulation" means pushing someone toward a decision that serves you, often by bypassing their rational judgment. The gap between them is where ethics lives.

Persuasion (ethical) Manipulation (unethical)
Gives the user accurate information Distorts or withholds information
Helps the user reach their own goal Redirects the user toward your goal
Respects the user's autonomy to say no Makes saying no difficult or shameful
Works transparently — user knows what is happening Works covertly — user doesn't realize they are being nudged
User feels good about the outcome later User often feels regret or tricked later

Dark Patterns — Named and Defined

The term dark patterns was coined by UX designer Harry Brignull in 2010 to name UI tricks that deliberately deceive users. Here are the most common ones builders encounter:

  • Roach Motel — easy to get in, very hard to get out. The name comes from the old pest-control ad: "You can check in but you can't check out." Example: signing up for a gym membership online in two minutes but being required to visit a physical branch in person to cancel. Amazon settled a USD 2.5 billion lawsuit in part for using this pattern with Prime subscriptions.
  • Confirmshaming — the decline button is written to shame the user for saying no. Example: an email signup popup where the "No thanks" option reads "No, I'd rather pay more" or "No, I don't want to save money." It is designed to make you feel foolish for opting out.
  • Fake Scarcity — inventing urgency that does not exist. "Only 2 left!" counters that reset daily. "Sale ends tonight!" banners that run permanently. These exploit the psychological fear of missing out (FOMO) to force a fast decision before rational thought kicks in.
  • Hidden Costs — prices are low in the cart but fees, taxes, or "service charges" inflate the total at the final checkout step, after the user has already committed mentally.
  • Misdirection — the design draws attention to one thing while hiding another. Pre-ticked checkboxes for marketing emails or add-on purchases, buried in a wall of text, are a classic example.
  • Trick Questions — confusingly worded opt-in/opt-out language where the "safe" choice is actually the one that opts you into something you don't want.
Common mistake: Many builders use dark patterns without realizing it — they inherit them from templates or copy a competitor's flow. Audit your cancellation, unsubscribe, and checkout flows the way a hostile user would navigate them.
Key takeaway: Dark patterns are not edgy growth hacks. They erode trust permanently. A user who feels tricked once tells others, leaves a bad review, and never comes back. The short-term conversion lift is almost always outweighed by long-term damage to reputation and retention.

Eyal's Manipulation Matrix

Nir Eyal offered a practical decision tool in Hooked: a 2×2 grid that plots your product against two questions. It does not give you a final answer, but it gives you a clear starting point.

Question 1: Does this product materially improve the user's life?
Question 2: Would the maker use this product themselves?

                  MAKER USES IT
                  Yes            No
                +-------------+-------------+
  IMPROVES  Yes | FACILITATOR | PEDDLER     |
  USER'S        |             |             |
  LIFE          | (build it)  | (question   |
                |             |  your       |
                |             |  motives)   |
                +-------------+-------------+
              No | ENTERTAINER | DEALER      |
                |             |             |
                | (ok if      | (don't      |
                |  harmless)  |  build it)  |
                +-------------+-------------+
  • Facilitator — you use the product yourself and believe it genuinely helps users. This is the ethical green zone. Build it.
  • Peddler — you believe the product helps users but you would not use it yourself. You are guessing at someone else's needs from a distance. Proceed with caution and more user research.
  • Entertainer — you use it yourself but it only entertains, does not meaningfully improve lives. Games and media often sit here. Not unethical, but not transformative either.
  • Dealer — you would not use it yourself and you know it does not really improve users' lives. You are extracting value from users, not creating it for them. Do not build this.
Analogy: A doctor who prescribes medication they believe in and would take themselves if they had the condition is a Facilitator. A doctor who prescribes something they know is not the best treatment because it pays better commission is a Dealer. Same knowledge, opposite ethics.
Common mistake: The Manipulation Matrix is a useful starting screen, not a complete ethics certification. A product can score "Facilitator" and still use dark patterns in its UX flows. Run the matrix and audit each specific feature and flow.

The Regret Test

The Regret Test is the simplest practical ethics check for any behavior-design decision. Ask:

"If the user completes this action and then thinks about it the next day, will they regret it?"

If the answer is yes — or even "probably" — do not use the technique. The regret test works because it shifts your perspective from the moment of the nudge (when you control the frame) to the moment of honest reflection (when you do not).

Example: A "flash sale ends in 10 minutes" countdown that is fake. In the moment, users feel urgency and buy. The next day, they see the same "sale" still running. They feel manipulated. They regret the purchase. They leave a bad review. The regret test would have caught this.
Example: A genuine progress bar in onboarding showing a user they are 60% done setting up their store. Users who complete onboarding retain far better. The next day, they are glad they finished. No regret. Regret test passed.
Key takeaway: Apply the Regret Test to every notification copy, every countdown timer, every cancellation flow, every default checkbox. If the user would feel tricked in hindsight, the design is wrong regardless of how much it lifts the conversion number.

Healthy Engagement vs. Addiction

Nir Eyal draws a sharp line between habits and addictions: addiction is always harmful by definition. A habit can be good or bad. The same behavioral mechanics that build a healthy morning exercise routine can also build a harmful gambling dependency. The mechanics are identical; the consequences are not.

How do you tell the difference when designing a product?

Healthy Engagement Addictive Design
Helps users reach their stated goals Keeps users on platform past their own intention
Users feel satisfied and accomplished after use Users feel empty or regretful after use
Easy to stop when done Designed to prevent stopping (infinite scroll, autoplay)
Rewards are meaningful to the user Rewards are hollow but engineered to compel (like-counts)
Maker would recommend it to their own family Maker uses a "distraction-free" version themselves

The tell-tale sign of addictive design: the user's behavior diverges from their own stated preferences. They say they want to spend less time on the app. The app is designed to ensure they spend more. That gap — between what users want and what the product drives them to do — is where manipulation lives.

Key takeaway: Design for the user's goals, not for your engagement dashboard. Time-well-spent is a better north star than time-on-app. A product your users are glad they used is sustainable. A product they feel guilty about using is not.

Concrete Dos and Don'ts for an Honest Product Builder

Do

  • Use real progress bars — show users their actual progress toward a real goal (profile completion, order status, onboarding steps). They reduce anxiety and drive genuine engagement.
  • Send notifications that earn their interruption — "Your order shipped" is valuable. "We miss you!" on day 3 is not. Set a high bar: would a friend send this message?
  • Make cancellation as easy as signup — one-click unsubscribe, no "call us to cancel," no guilt-trip retention flow that buries the cancel option. Users remember how you treated them on the way out.
  • Use real scarcity honestly — if you only have 3 units left, say so. If the sale ends at midnight, let it end. Real scarcity is a legitimate reason to act quickly. Fake scarcity is a lie.
  • Default to what the user wants — 90% of users want the sensible default. Pre-tick the option that helps them; never pre-tick the option that benefits only you.
  • Explain disabled states — if a button is greyed out, tell the user why and what they need to do. A disabled button with no explanation is a tiny dark pattern.
  • Run the Regret Test on every nudge — build it into your design review checklist.

Don't

  • Don't use confirmshaming — write the decline option with respect: "No thanks" is always acceptable. Never shame users for opting out.
  • Don't build a roach motel — anything easy to start must be easy to stop. Subscriptions, accounts, marketing emails.
  • Don't manufacture urgency — no fake countdown timers, no "X people are viewing this" when it's fabricated, no stock counters that reset every day.
  • Don't hide costs — show the final price as early as possible. Surprises at checkout destroy trust and spike cart abandonment.
  • Don't bury opt-outs in walls of text — if a user is giving you permission, make sure the checkbox is clearly visible and clearly labeled.
  • Don't design infinite scroll where it serves only you — if your product has no natural stopping point, consider whether that serves users or traps them.
Best practice: Build a one-page "UX Ethics Audit" for your product. List every place you nudge user behavior — notifications, defaults, progress indicators, cancellation flows, pricing display — and run the Manipulation Matrix plus the Regret Test on each one. Review it every quarter. Dark patterns creep in through copy edits, A/B tests, and borrowed UI patterns if you are not actively watching.

Tying This to Non-Technical Store Owners

If you are building tools for non-technical people — store owners, small business founders, people who did not grow up reading tech blogs — the ethical obligation runs even higher. These users are often less able to detect when a UI is working against them. They trust that the software they pay for is on their side.

When a store owner sets up their print shop, they are not reading UX research papers. They navigate by instinct and trust. If your product hides the cancel button, uses fake scarcity in its own upgrade prompts, or sends guilt-driven "Your trial ends tonight!" emails at 11 PM — you are exploiting that trust. You are not being clever. You are being dishonest with someone who cannot easily fight back.

The standard is simple: build the product you would want your own parents to use. Clear labels. Honest pricing. Easy cancellation. Notifications that help, not harass. Defaults that serve them, not your metrics.

Key takeaway: Behavioral science is a set of tools, not a set of goals. The goal is always to help the user accomplish what they came to do. When you use these tools in service of the user's genuine interests, they build trust and long-term retention. When you use them to extract short-term conversions, you build resentment and churn. Ethical design is not just the moral choice — it is the compounding business advantage.

Continue reading