Login
Problems to access downloads, install or configure a module? Remarks, bugs or suggestions? We treat your request within 24 hours.
Thanks for your feedback!
Hello,
I have the following problem.
Google adwords links the sites like this:
www.example.com/landingpage.aspx?gclid=XXXXXXX
then friendlier url provider rewrites the link to:
www.example.com/landingpage/gclid/XXXXXXX.aspx
but then google analytics could not interpret the paramter gclid.
So, how could I configure Aricie URL Provider to ignore the parameter gclid=XXXXXX
Hi,
You can add a conditionnal behavior on the rewrite strategy with the following flee expression : Dnn.Request.Param["gclid"] <> null
Set the rewrite rule like this : ${BASE_REPLACERULE_ROOT}[/${ControlKey}][.${Extension}][?${QueryString,QueryStringValue}][#${Fragment,QueryStringFlag}]
All querystring parameter will be ignore when the gclid is in the url.
Best regards,
hello cgaspard,
thank you for the answer. But
Dnn.Request.Param["gclid"] <> null
didn't work. I tried Input.Url.Contains("gclid") and now it works!
oh, sorry.. I forgot an "s" in my flee expression Dnn.Request.Params["gclid"] <> null but your flee expression is good too.
DotNetNuke Modules | Licence | Download | Subscribe Now | Support | Contact