Login

 

Got a question for us?

Get help from our team within 24 hours

Problems to access downloads, install or configure a module? Remarks, bugs or suggestions? We treat your request within 24 hours.

Thanks for your feedback!

HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLGoogle Adwords TrackingGoogle Adwords Tracking
Previous
 
Next
New Post
5/4/2011 9:51 AM
 

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

 
New Post
5/4/2011 10:08 AM
 

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,


Célian GASPARD
Développeur
Société de conseil et de service en informatique et systèmes d'information
 
New Post
5/4/2011 3:43 PM
 

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!

 
New Post
5/4/2011 4:45 PM
 

oh, sorry.. I forgot an "s" in my flee expression Dnn.Request.Params["gclid"] <> null but your flee expression is good too.

Best regards,

 


Célian GASPARD
Développeur
Société de conseil et de service en informatique et systèmes d'information
 
Previous
 
Next
HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLGoogle Adwords TrackingGoogle Adwords Tracking