How to adding Google-Drive-Script/project into google sites?
===

**Hi guys!**

i want execute Google-Drive-Script/project into google sites but i can not.

Google Sites alert me  with a message
*"This url is not recognised as a valid Apps Script"*

 - I create project-script from Google drive,
 - adding in script function `function doget(e) { code; code; code; ... }`, 
 - pubblish script (deploy as web app),
 - get link (https://script.google.com.....1DkWAQ/exec),
 - in the google site's page I edit page and insert script from menu: *Insert->apps script Gadget*, in the next page i enter script's link
   (https://script.google.com.....1DkWAQ/exec) but a message box alert me with:
   ***"This url is not recognised as a valid Apps Script"***

where i wrong?

my question is: Can I execute google drive-Script without adding code in site's page? 
it's possibile execute from several google site's pages a google drive-Script with different parameters?

thanks, 

Michele