Assuming you are using our JavaScript Tracker you can remove the domain from the tracked URL by adding this to your tracking code:

_paq.push(['setCustomUrl', window.location.pathname.substr(1) +]);

This way only the path and URL parameters are being tracked and reported in Matomo.

Previous FAQ: How do I enable Secure cookie flags in all tracking cookies?