Hello World

Working out who the user is

All chapters

Part 1 · Foundations

Working out who the user is

Chapter 3 10 min read 10 sections

A visitor lands on your site for the first time. Their request comes from an IP address in Switzerland, their browser says it prefers French, and they've just clicked a link from a German newsletter. Which language do you show them? Which currency?

You can't know for sure. Every signal you have is a guess, and some of them contradict each other. This chapter is about collecting those signals, deciding how much to trust each one, and making it easy for the user to correct you when you get it wrong.

The most important rule comes first, because everything else follows from it. Always let the user choose their own language.

Keep reading

The rest of this chapter is for readers of the book

Get the book to read the rest of this chapter and every other one, the field guide and the glossary, and to download the whole book as a PDF.

Still to come in this chapter

  • Language, location and currency are separate choices
  • What the browser tells you
  • What the IP address tells you
  • What the device's location tells you
  • Guessing, redirecting and suggesting
  • Let the user choose, and make it easy to find
  • Remembering the choice
  • Testing it
  • Checklist
  • Further reading