JS-Code should only work on my site

Yesterday I realized that someone was surfing my page via https://www.copyscape.com/
This site copies your websites source code to view it later, but it also executes the Matomo Tracking Code. How can I prevent the code from working on different domain but mine?

Thanks

Hi,

In the website settings in Matomo you can tick a checkbox so that Matomo only records tracking requests if the URL is the one you set up in Matomo