openmost / WeatherReports

Track weather data in Matomo
1 stars 0 forks source link

Shopify CORS error #3

Open refueledinc opened 3 months ago

refueledinc commented 3 months ago

When integrating Matomo into Shopify using the custom pixel method and adding Weather using Matomo Tag Manager, Shopify produces an error in console:

Access to fetch at 'https://ipapi.co/json/' from origin 'null' 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.
ronan-hello commented 3 months ago

You may have to edit CORS in your Shopify settings ? This is more likely a Shopify error I guess

Ronan