Many of our client have seen this kind of traffic typically generated by third party bots. You can get rid of these kind of links, you can do it either by Google Analytics or by Google Search Console.
1. Using Google Analytics - Use filter to stop tracking the traffic coming from bots and spiders. You can do that from Admin Settings. Under View panel, you will find View Settings. Tick the Checkbox at the bottom of the options, just before the Site Search Settings, with a small heading which reads: Exclude all hits from known bots and spiders. GA will automatically filter the bots and spiders traffic.
2. Google Search Console - You can request Google using disavow tool from Google Search Console. This tool is useful to tell Google that the links mentioned in the given file should not be counted as a backlinks as they are spammy, artificial or low quality links.
The other way Web analytics firms use is to request the site owners to remove your website links from their site.