Connexion

 
 

Une question sur nos modules?

Notre équipe vous répond sous 24 heures

Accès aux modules, bugs, demandes d'évolutions... Toutes vos questions sont les bienvenues sur cet espace d'échange ouvert à tous nos inscrits! Nous essayons de traiter vos demandes dans les 24h.

Merci de votre confiance!

HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLGoogle Adwords TrackingGoogle Adwords Tracking
Précédente
 
Suivante
Nouveau message
04/05/2011 09:51
 

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

 
Nouveau message
04/05/2011 10:08
 

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
 
Nouveau message
04/05/2011 15:43
 

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!

 
Nouveau message
04/05/2011 16:45
 

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
 
Précédente
 
Suivante
HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLGoogle Adwords TrackingGoogle Adwords Tracking