When clicks become evidence, design gets legal.