The Cookie Law is a piece of privacy legislation that requires websites to get consent from visitors to store or retrieve any information on a computer, smartphone or tablet. … All websites owned in the EU or targeted towards EU citizens, are now expected to comply with the law.