How to Add Dynamically generated script to Shopify API

New Member
1 0 0

Hi Guys,

I am creating an app that will get the customer's email and shop URL. I'll call to another system with email and URL in POST request. Then I'll get a script in response. And I don't know where I can Add that script in my code. 

Actually, I am building a Shopify plugin that will help me to get the analytics. I only have API code and I don't know what to do. Experts, please help me. 

I have only the following files. And I follow the following links to create that Plugin/App


Here install.php and index.php have the same code. I am using index.php