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
gc_email
USER
Passes user email to GetComplied
string
gc_birthdate_day
USER
Passes user birthdate day to GetComplied
?gc_birthdate_day=1
int
gc_birthdate_month
USER
Passes user birthdate month to GetComplied
?gc_birthdate_month=1
int
gc_birthdate_year
USER
Passes user birthdate year to GetComplied
?gc_birthdate_year=1990
int
gc_callingcode
USER
Passes user calling code to GetComplied
?gc_callingcode=+351
string ("+1", "+1-242", "+351" ...)
gc_countrycode
USER
Passes user country to GetComplied
?gc_countrycode=PT
string ("US", "PT", "GB" ...)
gc_gender
USER
Passes user gender to GetComplied
?gc_gender=0
int (0 - Male, 1 - Female, 2 - Other)
gc_addressline1
USER
Passes user address to GetComplied
?gc_addressline1=Address Line 1
string
gc_addressline2
USER
Passes user address to GetComplied
?gc_addressline2=Address Line 2
string
gc_city
USER
Passes user city to GetComplied
?gc_city=City
string
gc_zipcode
USER
Passes user zip code to GetComplied
?gc_zipcode=1000-000
string
gc_phonenumber
USER
Passes user phone number to GetComplied
?gc_phonenumber=912345678
string
gc_businessemail
USER
Passes user business email to GetComplied
string
gc_customid
USER
Passes user custom id to GetComplied
?gc_customid=1
string (max length: 256)
gc_name
USER
Passes user name to GetComplied
?gc_name=firstlastname
string
gc_show
Modal
Forces the modal to open
?gc_show=true View Example
bool
gc_lang
Modal / FORM
Forces the popup to open in a certain language
?gc_lang=en-GB View Example
language code ("en-GB", "pt-PT"...)
gc_view_id
Modal
Opens a specific resource by ID
?gc_view_id=119 View Example
int
gc_view_index
Modal
Opens a specific resource by Index
?gc_view_index=1 View Example
int
Copy link