Understanding URL Truncation

If you define your page views or downloads using file extensions, you can choose to shorten the URLs in page view and download reports by removing all query parameters from the URL string.

Note: Use URL truncation only in cases where you want to override the URL Rebuilding settings for the profile. URL Rebuilding is a much more flexible method of determining which parameters are included in page or file URLs.

When you click File extensions as your identification method in the Download Definitions or Page View Definitions dialog, you specify the file types in a space-delimited list. To truncate URLs for each file type, include the file extension followed by a comma and a 0, and enclose the expression in curly brackets. For example, to specify that URLs should be truncated for hits to PDF and Excel files, type:

{pdf,0} {xlsx,0}

File types that should not be truncated can be entered simply by typing the extension. You can choose to truncate URLs for some file types and not others, as shown in the following example:

pdf xlsx {gif,0}

In this example, the query parameters in URLs requesting PDF and Excel files are not truncated, but URLs requesting GIF files are truncated.