After you insert the script tag to your HTML page, a unique TrustedForm certificate URL will be passed along with all the other lead data that is being collected on the form. It does this by creating a special hidden field in your web form and inserting the URL in that field. The field is captured by the server when your form is submitted and passed along to the final lead recipient as proof that the lead was collected on your site.
Add the script to the page hosting your form
The TrustedForm code must be inserted into the HTML of the page that is submitting leads. We recommend that it be inserted inline at the end of the document, just before the closing </body> tag.
NOTE If your form loads inside an iframe, the TrustedForm code must also be inside the iframe. In this scenario, you don't need the TrustedForm code in the main body of the page, just in the iframe.
You can retrieve the TrustedForm code by registering here.
This script will automatically add the xxTrustedFormCertUrl field to your form. Use the field variable to customize the name of the field that is inserted into your form.
You can also use the script callback to perform additional customization after the certificate URL has been generated.
Explicitly providing your page's referrer
If you would like TrustedForm to collect your page's referrer (sometimes called the referer URL), you may set the var provideReferrer=true in the above script snippet instead of var provideReferrer=false.
Verify that the script has been implemented properly
Load the HTML page using Firefox, Chrome, or Safari and view the form using the DOM inspector (right click and Inspect).
Search for the field xxTrustedFormCertUrl in your form. If you find it, you have successfully set up the client-side portion of the TrustedForm integration.
NOTE View Source doesn't work in most browsers to verify the field has been added. You must inspect the source as described above. See the example below of where to find what you're looking for.
Set up the server-side integration
The xxTrustedFormCertUrl field must be passed all the way to the final recipient of the lead. So it is critical that the server that is receiving your form post captures the field along with the rest of the form data.
If you are doing a form post directly to a LeadConduit account, there is no need to add the xxTrustedFormCertUrl field to the LeadConduit campaign. LeadConduit will automatically capture this field as one of the system fields.
If you are capturing the lead data in your database or lead management system before delivering it, you will need to add the xxTrustedFormCertUrl field so that you can capture the URL.
Verify that the certificate URL is being passed properly
Once you think you have everything set up, check with the party that is receiving your leads. Are they getting the certificate URL value along with their lead data? If not, then make sure that the server is capturing the field. If the offer is brokered, then the broker must also pass along the field value to the recipient. If the recipient is receiving the certificate URL, then the integration is complete.