DNN's friendly URL rewriting feature turns all query strings into part of the base URL. By default, this includes things like tracking links. For example:
|Original URL||Converted URL|
This may skew analytics data as this will be interpreted as a different page for Analytics services. You can use the Keep in Querystring Regular Expression regex string to prevent URL rewriting from changing tracking query strings without modifying your existing URLs.
- Go to Settings > SEO > Url Management > Expressions
Append the specific query string to the Keep in Querystring Regular Expression text box.
- Click Save.
You can test that the query strings are not being rewritten by AUM by accessing the URL with the query strings. If a user visits the site with a tracking link (e.g.
mysite.com/sales?glid=randomstring), DNN should not rewrite this URL to