To use the Web SDK please install the snippet first.
Commands will only work after popup is initialized (there is a callback for when it is initialized). For example:
getComplied.callback.oninit = function(data){getComplied.command('show');}
Command | Description | Values |
| Opens Modal | hideClose (when enabled, close button is hidden) asNew (when enabled, updates consents as a new user, generating a new id and overriding the current session) |
| Changes popup and inputs language | language code ("en-GB", "pt-PT"...) |
| Opens a specific resource by ID Terms & Conditions | int |
| Opens a specific resource by Index | int |
| Opens a specific static view Open Languages view | home languages contactdpo thirdparties cookies edit accessdata movedata beforgotten |
| Passes user information to GetComplied | Name Email Birthdate { Day, Month, Year } CallingCode { Code ("+1", "+1-242", "+351" ...) } Country { Code ("US", "PT", "GB" ...) } Gender ( 0 - Male, 1 - Female, 2 - Other ) Address1 Address2 City ZipCode PhoneNumber BusinessEmail CustomId (string, max-length 256) |