I wrote an app in ruby on rails. My app creates content based on the entries of the shopowner as a html page. So as a result the shop owner has a link for the final page which he should link to in his navigation. But when he does, and a customer clicks on the navbar link, the page is loaded as an external link in a new window. The intention was, to show it seamless as a custom page, like the shop owner would have built it on his own in the "pages".
I tried to inject a page through the API, which works fine with an iframe. But concerning responsiveness i get 2 scrollbars on resize, which is pretty ugly. I also tried to make it embed, but this works for the shopify admin only, not for the storefront, where the customer interacts with the shop.
Is there a way to show the page seamless in the shop like it would have been created by the shop owner in onlineshop/pages ?