Hi
On my website on some product page in the console I have these errors:
Access to XMLHttpRequest at ‘https://gtm.domain.com/data?v=1&event_name=page_view’ from origin ‘https://www.domain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Access to XMLHttpRequest at ‘https://gtm.domain.com/data?v=1&event_name=view_item’ from origin ‘https://www.domain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
XHR failed loading: POST “https://gtm.domain.com/data?v=1&event_name=page_view”.
XHR failed loading: POST “https://gtm.domain.com/data?v=1&event_name=view_item”.
On the Data Tag the Request Type is set on “auto”, those errors disappear when I change it to POST or GET, any of them make it disappear. So, please, how should I set this ?