Hi,
I’m trying Data Client to claim data on server side. In the console I get this message:
Access to XMLHttpRequest at ‘https://collect.domain.com’ from origin ‘https://domain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
What I need to do to get Data Client claim request? And does this error have anything with Shopify?
Hi @Denis,
Thanks for the link I already checked that out and didn’t find any missteps. I didn’t change anything but there is no more of this error message in console. Still, Data Client is not collecting the requests.
I mentioned that you use Shopify. For Shopify we have a dedicated tutorial on how to setup Facebook Conversion API and ready to import configured GTM containers.
If you want to fix the current setup. I can suggest you change the request type in the Data tag from POST to GET.