Great question — answering as the UphillTech team:
Please see this accepted answer , which covers the exact same question with a solution on how to block unwanted traffic in your Google Analytics account.
Full answer by David K.: https://webmasters.stackexchange.com/a/47039 (CC BY-SA 4.0).
Need it done for your business? UphillTech.