-
Good morning,
Not sure if this is related to your plugin or something else but when we connected our new website to google analytics with Rank Math, we are getting the following errors.Access to fetch at ‘https://www.google-analytics.com/api?url=https%3A%2F%2Fwww.wheelgatepark.com%2F’ from origin ‘https://www.wheelgatepark.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
GET https://www.google-analytics.com/api?url=https%3A%2F%2Fwww.wheelgatepark.com%2F net::ERR_FAILED 404Which, in turn, causes issues with the Google captcha not working and possibly other things.
I saw another article within this knowledgebase saying about the Rest API is disabled but as far as I am aware it is enabled as I can access this https://www.wheelgatepark.com/wp-json.Any thoughts on how I can sort this issue, please?
The ticket ‘Blocked by CORS policy: No ‘Access-Control-Allow-Origin’’ is closed to new replies.