See our FAQ: Excluding traffic from Matomo (Piwik) using IP Addresses, Cookies, and more.