Query String
You can communicate with the modal via query string. This is ideal to validate legacy data. Example you can use a query string to pass the email that way Get Compiled knows exactly what user is using
To use the Web SDK please install the snippet first.
Query String | Scope | Description | Example | Values |
| USER | Passes user email to GetComplied |
| string |
| USER | Passes user birthdate day to GetComplied |
| int |
| USER | Passes user birthdate month to GetComplied |
| int |
| USER | Passes user birthdate year to GetComplied |
| int |
| USER | Passes user calling code to GetComplied |
| string ("+1", "+1-242", "+351" ...) |
| USER | Passes user country to GetComplied |
| string ("US", "PT", "GB" ...) |
| USER | Passes user gender to GetComplied |
| int (0 - Male, 1 - Female, 2 - Other) |
| USER | Passes user address to GetComplied |
| string |
| USER | Passes user address to GetComplied |
| string |
| USER | Passes user city to GetComplied |
| string |
| USER | Passes user zip code to GetComplied |
| string |
| USER | Passes user phone number to GetComplied |
| string |
| USER | Passes user business email to GetComplied |
| string |
| USER | Passes user custom id to GetComplied |
| string (max length: 256) |
| USER | Passes user name to GetComplied |
| string |
| Modal | Forces the modal to open |
| bool |
| Modal / FORM | Forces the popup to open in a certain language |
| language code ("en-GB", "pt-PT"...) |
| Modal | Opens a specific resource by ID |
| int |
| Modal | Opens a specific resource by Index |
| int |
| Modal | Opens a specific static view |
| languages contactdpo thirdparties cookies edit accessdata movedata beforgotten |
| FORM | Passes the offer title to form |
| string (max length: 1020) |
| FORM | Passes the offer Id |
| string (max length: 125) |
| FORM | Show or hide form logo |
| bool |
| FORM | Change the logo of the form by the introduced one |
| string (max length: 1024) |
| FORM | Change the title pre-defined by this new |
| string (max length: 1024) |
| FORM | Change the subtitle pre-defined by this new |
| string (max length: 1024) |
| FORM | Change the attachment title pre-defined by this new |
| string (max length: 1024) |
| FORM | Change the comment title pre-defined by this new |
| string (max length: 1024) |
| FORM | Change the comment subtitle pre-defined by this new |
| string (max length: 1024) |
| FORM | Passes user first name to form |
| string |
| FORM | Passes user last name to form |
| string |
| FORM | Passes user email to form |
| string |
| FORM | Passes user business email to form |
| string |
| FORM | Passes user calling code to form | ?gc_form_callingcode=+351 | string ("+1", "+1-242", "+351" ...) |
| FORM | Passes user phone number to form | ?gc_form_phonenumber=912345678 | string |
| FORM | Passes user address to form | ?gc_form_addressline1=Address Line 1 | string |
| FORM | Passes user address to form | ?gc_form_addressline2=Address Line 2 | string |
| FORM | Passes user country to form | ?gc_form_countrycode=PT | string ("US", "PT", "GB" ...) |
| FORM | Passes user city to form | ?gc_form_city=City | string |
| FORM | Passes user zip code to form | ?gc_form_zipcode=1000-000 | string |
gc_form_region | FORM | Passes user custom id to GetComplied | ?gc_form_region=algarve | string (max length: 256) |
Last updated