Hi everyone! We recently launched our free app and started to get users pretty quickly.
We are now analyzing one interesting issue that we are hoping to solve with your help: some sites do not send us orders at all.
Our Shopify app integrates as a JS code snippet into the theme.liquid layout file and also into the order_status display scope using ShopifyAPI::ScriptTag class like so https://monosnap.com/direct/ZRnoJrALUIOS0O7QqkEa6j3NPnmPoA ← this is exactly the same script as we include into the theme.liquid layout. Here is our JS code snippet itself https://gist.github.com/iurevych/db861977962be1d4b8295c8de1be165f
Do you see any obvious issues with the script or the way we integrated this into the order status page that prevents 17 of our customers from sending us any orders?
Your help is greatly appreciated!
Solved! Go to the solution
While this falls outside of the scope of Shopify API support, from someone like myself, I welcome community input on the matter. At a glance though, it could be those users blocking JS on the browser level?
Thanks @Alex. I can confirm this is unrelated as we have some specific sites that don’t send any orders to us completely. While we are on the API thread: could you confirm that this code will execute in 100% cases only on the order confirmation page (post purchase)? https://monosnap.com/direct/ZRnoJrALUIOS0O7QqkEa6j3NPnmPoA