By default, Matomo (Piwik) will truncate Page URLs and Page Titles after 1024 characters (1 Kb).
If you are tracking Page Titles or Page URLs that are longer than 1024 characters, Matomo will truncate (cut off) the extra characters and also remove any additional URL parameters. To make sure that Matomo correctly tracks even your long Page Urls and Page titles, you can edit your
config/config.ini.php and add the following:
page_maximum_length = 2048
After making the change, Matomo will track up to 2048 characters in your Page URLs and Page Titles. You may adjust the value appropriately for your use case.
As of Matomo 4.0.0, only the first 4096 characters of a page title or a page URL (and all action names) will be stored, even if
page_maximum_length is set to a higher value. Referrer urls are generally truncated to 1024 but can be extended to 1500 characters using