Starting from March 13, 2024 you have to use Google Consent Mode v2 to comply with the latest regulations
What is Consent for Cookies and how it can be used on the website.