Facing cors issue while trying to add Quill editor to WYSIWYG editor in strapiv4

Access to XMLHttpRequest at 'https://analytics.strapi.io/api/v2/track' from origin 'http://localhost:1339' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main.e2aaaed1.js:137032     POST https://analytics.strapi.io/api/v2/track net::ERR_FAILED

Cors middleware config :

    name: "strapi::cors",
    config: {
      origin: ["*"],
      expose: [
      maxAge: 31536000,
      credentials: true,
      methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"],
      headers: [