At Eloqua Experience in Orlando I spoke about how to do a server side post in Eloqua using javascirpt, cURL and some JSQuery. A server side post is different than a direct post in that in a server side post, the server is doing some processing before it reposts back to Eloqua. This is often needed when the form in question collects credit card information or some other confidential information you dont want posted back.
The problem we had was that our free trial and a buy now form are not Eloqua forms. They collect credit card information and therefore posts directly into our server. As a result, we experienced several issues:
- Submitters are not cookied. These form drive the greatest percent of our conversions and we need to cookie these people.
- I lose campaign tracking when our nurture tracks drive people to these forms as a call to action
- I cannot run workflow of the submission process since it is not an Eloqua form
The solution I came up with is to do a server side post using cURL. I did several things:
- Create a form in Eloqua that matches the our Free Trial/Buy Now form
- Add hidden fields for ElqCampaign ID
- Use cURL to let our server post the form submission to Eloqua and in the process cookie the submitter
This allowed me to solve all of the issues we were previously experiencing.
You can see the entire presentaiton here.