Consolidate multiple pages into single statistics


I have a website with pages where they can be accessed via multiple URLs. The server is accepting multiple domains for the same site. For example, and will lead to the same page. Is there is way to get consolidated statistics on the total access for the page?

Here is an idea (there are other ways)
you can either overwrite the URL via .setCustomUrl()
or overwrite the page title using setDocumentTitle()
to store URL or page title as the unique value.