DNN Platform Version: 07.03.02
HubSpot's support is saying that our DNN site is changing characters in the tracking URLs, causing the categorization to
be Direct Traffic instead of Social.
Here is an example of the URL with query strings intact:
http://www.mysite.com/?utm_content=52851741&utm_medium=social&utm_source=twitter
and then being redirected to:
http://www.mysite.com/Home/utm_content/52851741/utm_medium/social/utm_source/twitter
Friendly URLs are enabled in the settings with Friendly URL Type: advanced
I was thinking I would need to use the doNotRewriteRegex parameter to detect the utm urls and then rewrite them back to query string format.
Or, under Host>Host Settings>Friendly URL Settings, I would add a new Rule to do something like this:
replace /Home with nothing
replace utm_content/ with ?utm_content=
replace /utm_medium/ with &utm_medium=
replace /utm_source/ with &utm_source=
Am I on the right track? If so, can anyone provide help in writing the regex for the Rule?