function ampforwp_get_data_consent(){
-
ver 9.96 function ampforwp_get_data_consent() that function appears to run even if GDPR compliance toggle is turned off.
The problem is the site you are using for IP data https://ipinfo.io has a rate limit of 1000 per day so amp on popular sites start throwing an error that users see saying error in features.php file_get_contents(“https://ipinfo.io/{SOMEIPADDDRES} http/1.0 status 429 too many requests.
Please make sure this does not run when GDPR compliance toggle is off and warn users about 1000 limit per day if they turn the GDRP compliance toggle on or find another data source without the rate limit. Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘function ampforwp_get_data_consent(){’ is closed to new replies.