LeadQ HTTP Posting
Because of the SOAP- incapability of some classic languages (like asp), LeadQ provides a simple HTTP- posting-form.
In all caes he posts must be perfomed “in background”, meaning not the webvisitors client browser should
perform the post, but the webserver hosting your form should do the post itself.
Only in this way a secure post can be guaranteed. LeadQ checks per campaign the IP’s used for the posting, and the number of different IP’s may not exceed the 15.
The form is located here >>.
Please be sure all data is complient to the discription on the post-page. Non-complient data will not be stored,
and results in permanent data-loss.
Mind the fact that even when not using the the LeadQ Tracker SDK, data will still be validated server-side.
Mind also the fact that LeadQ has no fall-back capabilities when not using the LeadQ Tracker SDK. Therefore, and for all the obvious reasons,
we disencourage the use of classic scripting languages, like ASP, for your website.
|
|
HTTP background posting
Classic scripting languages sample code
strPostData=""
strPostData=strPostData & "&formId=" & formId
strPostData=strPostData & "&campaignId=" & leadQCampaignId
strPostData=strPostData & "&sessionStep=1"
strPostData=strPostData & "&leadLastName=" & Server.URLEncode(achternaam)
strPostData=strPostData & "&leadFirstName=" & Server.URLEncode(voorletter)
strPostData=strPostData & "&leadPrefixes=" & Server.URLEncode(voorvoegsels)
strPostData=strPostData & "&leadStreet=" & Server.URLEncode(straat)
strPostData=strPostData & "&leadHouseNo=" & Server.URLEncode(huisnummer)
strPostData=strPostData & "&leadZipcode=" & Server.URLEncode(postcode)
strPostData=strPostData & "&leadCity=" & Server.URLEncode(plaats )
strPostData=strPostData & "&leadPhoneWork=" & Server.URLEncode(teldag)
strPostData=strPostData & "&leadPhonePrivate=" & Server.URLEncode(telavond)
strPostData=strPostData & "&leadEmail=" & Server.URLEncode(email)
strPostData=strPostData & "&leadBirthDate=" & Server.URLEncode(geboortedatum)
strPostData=strPostData & "&leadGender=" & Server.URLEncode(strGender)
strPostData=strPostData & "&leadMemo=" & Server.URLEncode(opmerking)
strPostData=strPostData & "&flowId=" & flowId
Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "POST", "https://tracker2.leadq.nl/web/pages/PostPage.aspx", False
xmlhttp.setRequesth3 "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.Send(strPostData)
'response.write xmlHttp.responseText 'optional code for displaying supplierpixel
|