Liquid, JavaScript, themes, sales channels
Hey Shopify Devs and Support,
We are having an issue with our custom web pixel sending origin: null in the request headers. We are following the exact example from the docs here. Below is a screenshot of our custom web pixel, its log to the console, and the DevTools details for that request. Notice Null being sent by the requesting resource. This is what my server looks like. Origin is set by the browser, its not something that can be set by the client code. As you can see the reason this request does not fail CORS is because i have origin: true in my server. This essentially just repeats back the origin it received in the Access-Control-Allow-Origin header.
Shopify sending Origin: null is new behavior and was not like this before. If anyone has some context on this or a solution to fix this, I would be greatly appreciative.
User | RANK |
---|---|
38 | |
28 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023