Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

Google Adwords Tracking

Sort:
You are not authorized to post a reply.
Author
Messages


smiso











New Member



Posts:




New Member



    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



    Deleted User











    New Member



    Posts:




    New Member



      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,



      smiso











      New Member



      Posts:




      New Member



        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!



        Deleted User











        New Member



        Posts:




        New Member



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

          Best regards,

           

          You are not authorized to post a reply.