google-ads-script

My website suddenly asks me "This site asks for consent to use your data" [screenshot included]


I'm freaking out right now.

My website is almost coded one by one word by myself. I only used smarty, jquery and some other old libs. I didn't change the code for years.

Today when I opened my site, it suddenly asked "This site asks for consent to use your data", which I have no idea what it is.

enter image description here

That's definitely not my code. I immediately check my VPS and all files are as the same as my local backup, means my files didn't get hacked.

More detail:

Can anyone tell me what causes this pops up? Is it Cloudflare or Google adsense or something else?


Solution

  • This is the consent form from Google AdSense that Google has enabled for you to comply with regulations. Log into Google AdSense go to Privacy and messaging, look under Consent management solutions. One of the auto generated consent forms will be enabled.