Starting from March 13, 2024 you have to use Google Consent Mode v2 to comply with the latest regulations
What is Europe's General Data Protection Regulation?