Forum Discussion
_anomDiebolt_
10 years agoQrew Elite
I tried this code:
var url= "https://www.googleapis.com/pagespeedonline/v1/runPagespeed";But I get an error:
$.ajax(url, {
dataType: 'jsonp',
data: {
url: "https://quickbase.com",
key: "AIzaSyD23MrZsN9vxr1GtZ1qQ40AtYfSIQ5qy3s"
}
}).then(function(response) {
console.dir(response);
});
"Access Not Configured. The API (PageSpeed Insights API) is not enabled for your project. Please use the Google Developers Console to update your configuration."I think the problem is that I can't prove I own the domain haversineconsulting.quickbase.com to Google (because I don't own the domain). I think you are going to have to run this through a proxy for which you can verifyyou own the domain through Google and then pump the results to QuickBase.