I have an online platform (audioteca.ro) where we promote online shops, Those shops needs to install a pixel (not Facebook pixel) so we can track orders. My domain is proxied by Cloudflare and for some reason I am not getting any analytics for the pixel due to the below error:
Access to XMLHttpRequest at ‘https://audioteca.ro/pixel/pageView’ from origin ‘https://www.soundhouse.ro’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
pixel.js:1 POST https://audioteca.ro/pixel/pageView net::ERR_FAILED 301
If I turn off proxy this error is fixed. This worked before with my domain proxied but for some reason for a couple of months my pixel is blocked with the mentioned error.
Since I was not able to create a ticket with Cloudflare support any advise will be highly appreciated.