If you win a lottery online, you can choose to remain anonymous and claim the prize or make it public. For jackpot wins, the lottery operator might ask you to go public for promotional reasons.