We’ve just done a complete redesign of our website, including changing the CMS.
The original site used WordPress, and the newsletter subscriber request form was built and stored here in InfusionSoft. The old website simply linked to it, as commonly done.
The new site has been built in Drupal. Because we could not get the above request form to match the look/format of the rest of the site, we chose to build the form within the site using the Drupal Webforms module.
So far, so good. It only needs the First Name (inf_field_FirstName) and Email address (inf_field_Email) fields. Also being passed back to InfusionSoft are the hidden fields inf_form_xid, inf_form_name and infusionsoft_version. New subscriber requests are being stored in the correct Web Form when checking the tracking reports.
The problem is, of course, that our website name no longer gets loaded in as the LeadSource. (Although the IP Address for these new entries matches our web address, so there is an indication there). The question is … how can we pass the LeadSource along when the form is submitted on our site?
Although we are not using the form itself within InfusionSoft, I did go ahead and put LeadSourceId as a hidden field in the form. Over on the Druapl side I added a new hidden field called inf_field_leadsourceid. For its value I did look up and put in the proper id number (in our case it is 1642). But still nothing appears in the Lead Source column when new forms are submitted and received.
What is the proper way to code Lead Source?
Also, as mentioned above, the IP Address that is being passed back to InfusionSoft is the address of the website itself and not the user, even though we are capturing the user’s IP address at our end and it shows in the Webforms database. How can we pass that proper value back as well?