Reading Data from URL Parameters
Popup can read data from URL parameters to enrich subscriber data, pre-fill form fields, and personalize widget content.
---
How It Works
Every input field in Popup has a "Name" string in its settings. To pass a value to that field via URL, add the prefix conv_ to the field name.
- The first URL parameter starts with
? - Additional parameters are separated with
&
Example (single parameter):
https://mysite.com/?conv_text=example
Example (multiple parameters):
https://mysite.com/?conv_email=john@example.com&conv_first_name=John&conv_text=hello
When a visitor lands on a URL containing these parameters, the corresponding fields are automatically populated.
---
Default Fields
These built-in fields have pre-assigned parameter names:
| Field | URL Parameter |
|---|---|
conv_email |
|
| First Name | conv_first_name |
| Last Name | conv_last_name |
| Phone | conv_phone |
| Company | conv_company |
| Site | conv_site |
---
Custom Text Fields
Pass a value to a custom text field using its name:
conv_text=mytext
---
Date Fields
Date values must use the format mm/dd/yyyy:
conv_date=12/01/2020
---
Dropdown and Radio Fields
Use the option label (the visible text) as the value:
conv_radio=Option 1
---
Rating Fields
Use the option label as the value:
conv_rating=Good
---
Need more help?
If you've worked through this and still need a hand, contact support — we'll dig in with you.