We are about to A/B test two different site landing pages. The “A” site is built in static HTML using Bootstrap. The “B” site is built on WordPress using a custom-designed, mobile-responsive Divi theme layout with its own mobile-responsive form. We’re doing it that way for a specific purpose rather than designing a landing page using the IS WordPress plugin.
But how do I send the submitted data to IS through this custom form? Can I just use the same URL in the “action=” attribute of the other form, ensuring that all the form fields have the same “name” attribute? Or is there an OAuth API setup I need to do first? If you can point me to a question that’s already been answered, or some documentation, that would be great. I may just not be searching the right keywords on this.
You cannot just post data to IS forms as that will get the firewall on the servers to black list your ip address. Generally you’d need to post data from the form to a bit of code that can use the api to update infusionsoft and then redirect to your thank you page from there. Without using the plugin, that’s the only non-problematic way to handle it.
Thanks, John. It’s strange to me that this is the case only because the “A” site in this A/B testing scenario isn’t using WordPress, but also doesn’t appear to be using any kind of InfusionSoft API calls. It simply posts directly to an InfusionSoft URL. But maybe that URL in turn is a special one that ensures the site/form won’t be blacklisted? Here’s an abbreviated and obfuscated code snippet from that site’s source:
That url is specific to IS forms and the codes for those forms that are unique to each user’s forms individually. Posting information to it directly wouldn’t work but it will accept forms that have the registered id’s that are a match in the database for that form. ie, their servers have the values of those “inf_form_xid” and will only accept information from that form which is why doing the copy/paste of the code would work, but again, just posting information directly to it won’t.