I have raised this question on the WP Answers as well. But since this uses Salesforce too, wasn't sure if I'd get a response there.
I am using Contact Form 7 on my website and would like to integrate Salesforce lead tracking with it.
I was able to add a hidden field with my oid as suggested on this site
But when I submit the contact form after adding this, it just gets stuck and never actually returns. As soon as I remove the hidden field, it starts working fine.
Has anyone been able to integrate the lead tracking system with Wordpress Contact Form plugins?
I also tried using cform with the instructions provided here. But this gives a warning that fopen failed. I assume thats because fopen does not allow write operations with HTTP wrappers. Not sure how the author managed to get it working!
Would appreciate any help on this! I do not want to use the salesforce Web-to-lead form. Thanks.
From my research into integrating salesforce with cforms the basic principal is that you need the POST info needs to correspond exactly with the cform POST info.
When writing the post you liked to I research the process by using an example form from them - embedded code provided - then found a way to make cforms submit the data, formatted the way they specified to https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 the url they had in their form.
Feel free to use me if you run into difficulties...