-
I just want to pass browser cookies and cart_token which is fetch by cart.js both data need to pass third party post API on both product_added_to_cart and product_removed_to_cart pixcel event
-
But pixcel event give same origin error into console log
Topic summary
Main issue: Passing browser cookies and the cart_token (from cart.js) to a third‑party POST API when Shopify pixel events fire for product_added_to_cart and product_removed_to_cart.
Observed problem: Console logs show a same‑origin error, indicating the browser blocked the cross‑origin request due to security policies (CORS/Same Origin Policy).
Key terms: cart_token is an identifier for a shopper’s cart in Shopify; pixel events are client‑side tracking hooks fired on add/remove cart actions; same‑origin error occurs when a script attempts to request a resource from a different domain without proper permissions.
Status: No workaround or resolution provided in the thread. No decisions or action items were noted; the question remains open.