Does anyone know if it's possible with the Shopify API to inject JavaScript code into Shopify template files like you can do using the Script Tags API with JavaScript files.
My goal is to have the app hit the server, get JavaScript code like <script type="text/javascript">console.log('App is running')</script> and inject that into every template page.
That way you wouldn't need to edit the themes template files.
I'm not looking for recommendations for books, tools, software libraries, and more. I want to know if it's possible to do this with the Shopify API.