title: How to find if a JavaScript code is running on it's own domain?
body: <p>I work on an analytics website and I want to put an analyzer code specific for each website. Is it possible to check if a user uses his own JavaScript code?</p>
  
  <p>Is it necessary and enough to put a customer code in each JavaScript and check it with domain name to be sure about this? Or do I need something like session or so?</p>