No, tracking cookies are not illegal. But, those who use tracking cookies must follow specific privacy regulations, including providing clear information about thecookies, displaying a consent banner, providing the option to separate cookies by their specific type, and the option to deny or revoke consent.