• Resolved Brad

    (@saskso)


    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)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hello @saskso

    you are saying we are using IP data so I would like to tell you we are not using any IP data can you please where you see that we are using IP data.

    Can you please explain a little bit more about the error you are facing so I can understand it better and providde a solution to you.

    Thread Starter Brad

    (@saskso)

    Ok I see it is not in the current master branch, it was in development version I had.

    • This reply was modified 6 years, 9 months ago by Brad.
    • This reply was modified 6 years, 9 months ago by Brad.
    • This reply was modified 6 years, 9 months ago by Brad.
    Plugin Contributor ampforwp

    (@ampforwp)

    Hello saskso

    oK, if you have any more question then please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘function ampforwp_get_data_consent(){’ is closed to new replies.