Pre-filling forms with URL Parameters
Example Use Case
When sending an email to a customer via a CRM, a link in the email can point to a Vyro Landing Page and the form on that page can be pre-filled using the customer's information which will be shared via data contained in the URL.
How It Works
URLs can contain special parameters at the end of the URL. Vyro can detect these parameters and insert them into the form automatically.
Instructions
Step 1 - Create a Form & Page
If you don't already have one, create a Form in Dashboard, then add that form to a landing page.
Step 2 - Add Field Names
Identify which fields you would like to pre-fill, then add a name to each. We'll use the name in the next step to connect the data from your CRM to the data in Vyro.
Note:
- Names must be unique within a form
- Names cannot contain special characters
Step 3 - Test The Form
In this step, we'll learn how to add in the URL parameters when visiting the landing page.
Let's assume your landing page is located at: https://example.vyro.co/my-landing-page
And the names identified in Step 2 are: company_name and first_name
Create a URL by joining:
- Your landing page URL
- The character
? - Each name, followed by an
=character, followed by the value (i.e. the Company's name). - In between each name/value pair in #3, a
&character.
Like so:
https://example.vyro.co/my-landing-page?company_name=My+Company&first_name=John+Bar
- Notice the
+characters above? Space [space] characters can break URLs. Replace spaces with a+. - The order above where
company_namecomes beforefirst_nameis irrelevant. Order the fields in whatever order you prefer. - Working with UTM parameters? Vyro form pre-fills and UTM parameters leverage the same technology and can co-exist. Ensure that you only have 1
?character in your URL and continue to add the URL parameters like so: https://example.vyro.co/my-landing-page?company_name=My+Company&utm_campaign=Example - You can also use free URL building tools.
Step 4 - Connecting to your CRM
Next up we'll need to connect the URL template created in Step 3 to your CRM.
Most CRMs offer a "merge tag" or "template" feature where personalised components can be injected into URLs used in emails or other mediums.
For example:
https://example.vyro.co/my-landing-page?company_name={{company.name}}&first_name={{user.f_name}}
The exact template will be dependent on your CRM's capability. Refer to its documentation for further support.
