Take the 2-minute tour ×  I'm developing an app where customers
can drop in a Javascript tag onto their website, and it will
generate content. What is the best approach to have Google index
this content and associate it with the site's URL.  I know that
Google doesn't execute JS, so I'm thinking of different angles.
I could have Google index the content on the site where the
content is comping from (not the customer's site) but then it
obviously will be indexed with the wrong URL. Could I somehow
get Google to display a different URL? Is there another approach
to get Google to index content from another site but associate
it with  The constraints are:    • The customer website can only
drop in one section of code (ideally a JS tag).   • I have full
control of the original content, albeit on a different site.   •
The customer website can't do any server-side processing to
specifically solve this.  Ideally, the web visitors would see
the JS generated content when viewing the site, but Google bot
would get fed c