Hi, I want to decorate the product page with some data. The data is loaded from a RoR application hosted in a remote server. It seems there many ways to do this: ScriptTags, App Proxy...
What is the best way?
Solved! Go to the solution
This is an accepted solution.
Is this for a single store? I so, you can modify the theme to send an AJAX request to your server.
If it's for multiple stores, a ScriptTag makes sense - but keep in mind every theme/product page is different, so inserting content is challenging.
An app proxy isn't required but can hide your server URL behind a local URL, for example:
store.myshopify.com/apps/hello -> forwards to yourapp.com/whatever.