ReplaceURI

The ReplaceURI transformation changes the value in the internal URI dimension to a new value.

If URI Prefix is specified, the resulting value is simply the URI prefix concatenated with the provided input value.

Parameter Description Default
Name Descriptive name of the transformation. You can enter any name here.
Comments Optional. Notes about the transformation.
Condition The conditions under which this transformation is applied.
Default The default value to use if the condition is met and the input value is not available.
Input The value to replace the URI.
URI Prefix The value (string) to be prepended to the value in the Input field.
NOTE

Before applying ReplaceURI transformations, you should create a new simple dimension with a parent of Page Viewfrom a copy of cs-uri-stem or cs-uri. For assistance with this, contact Adobe.

This example demonstrates the use of ReplaceURI to replace the “page=pageid” query strings with " homepage.html" whenever pageid indicates that the website’s homepage was viewed. The end result is a more user-friendly view of the URI.

For the transformation shown, the page

  • www.examplesite.com/info.html?page=1550

would be changed to

  • www.examplesite.com/homepage.html

On this page