On this page, you will see how to use one form with a hidden unique identifier field, on multiple websites to track which URL each submission was derived from. This is useful if you embed a single Form on several different sites/pages and want to track submission traffic for each site or page.
-
First, add a Short Answer field to your form and title it whatever you want that will make sense to your naming conventions. This is the field that will be the unique identifier to differentiate the submissions coming from the different websites you have the form embedded on. A couple notes here.
- Be sure to set this field to "Hidden".
- For testing purposes, it can be useful to leave the field unhidden until you know you have everything set up the way you want.
- Make sure the field does not contain any erroneous/blank characters at the beginning or the end of the label name. This will cause the set up to fail as the name will not match what you amend to the embed code.
- Next, you will want to amend the Javascript embed code to carry the variable you have created to the form. This variable will be different for each site you want to embed on. Open up the Form and go to Share > and click the "Copy code" button within the "Javascript embed code" section. You can then paste that code into a text editor such as Notepad, Notes, Word, Pages, etc.
And here is what it looks like after the changes. The changes made have been bolded to point out the differences. The "webpage1" part is what you will change on each iteration of the embed code to know what website it is coming from. Examples: "insurance.com" "carquote.com" and so on.
- Once this setup is complete and submissions start coming in from your various sites and pages, you will be able to see where the submission came from right in your submitted data.