Google Analytics has always offered means to force the page path being collected to an explicit value, overriding the default parsing based on location.pathname+location.search
Just set a value for the page parameter.
You'll find an example here
https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications
However, first check which version of the Google Analytics tracker code you are using, to get the right syntax applicable to that version.
Or prefer to push the value to Google Tag Manager, through a dataLayer.push('pagePathVariableName','/example-page;field1=value1;field2=value2;field3=value3');
call and do the mapping in GTM