From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

Transferring Variables in Query String

Transferring variables to the query string is often desired when a user inputs some data interactively in a banner, e.g. his/her e-mail or telephone number, etc. This can be achieved by appending  ";urlappend=" parameter to a clickTAG. The method of transferring these variables in the querystring is the best described by the examples below.

Using  ;urlappend= in querystring values

JS code:

var custom = ';urlappend='+'?street='+street+'&country='+country+'&city='+city+'&zip='+zip;
  
  window.open(clickTAG + custom, landingpagetarget);

If the clickTAG is, for example, set to http://www.site.com?Destination= the user gets redirected to http://www.site.com?Destination=London when the  banner is clicked.

Note: Variables in query string can not be tested in Banner's preview page. All query string variables will be passed to the final landing page only when banner is uploaded to campaign in Adform system and published.