Advanced Settings and Customizations

Integrating 3rd party systems

You can use the privacy center's custom code to integrate systems such as: analytics, customer engagement, consent management etc.

Prefill fields

The following query parameters can be used in the privacy center URL to auto-fill some of the form fields:

Query ParameterDescription
firstNameRequestor First name. For example: John
lastNameRequestor Last name. For example: Doe
emailRequestor email address. For example: [email protected]
countryCodeRequestor Country of residence, in ISO 3166-1 2 digit format, For example, for United States use: US
mobileNumberRequestor International Mobile phone number, only digits. For example +18005550175
stateRequestor State of residence, in ISO 3166-2 2 digit format, For example, for California us: CA
addressRequestor address of residence. This field is not validated and can contain any value. For example: 234 W 42nd St, New York, NY 10036
privacyRightIdData subject request type. Valid Values: delete, getcopy, donotmail, righttoedit, donotsell

Example: Using the following privacy center URL:

https://acme.privacy.saymine.io/acme-privacy?firstName=John&lastName=Doe&countryCode=US&state=CA&privacyRightId=delete

Will load the privacy center and populate values in the following fields: first name, last name, country, state, selected privacy right.

Setting Custom Fields

Every query parameter in the privacy center URL is stored as a custom field in the request that is created. The custom fields are created with theparam. prefix in their name. For example, using the following privacy center URL:

https://acme.privacy.saymine.io/acme-privacy?flow=a&brand=yoyo

Will create requests with the following custom fields:

Custom Field NameCustom Field Value
param.flowa
param.brandyoyo

Note: Query parameters with a length of more than 256 characters are ignored, and will not be used for custom fields.

Filtering by Supported Rights

You can customize the rights shown in the form by adding the supportedRight query parameter to the URL. This parameter allows you to filter the displayed privacy rights based on specific supported rights relevant to your use case.
The supportedRight parameter can be used one or multiple times in the URL. When this parameter is present, only the rights matching the provided values will be shown, based on the conuntry / state selection and the Eligible Regions list.

Example Usage:
https://acme.privacy.saymine.io/acme-privacy?supportedRight=delete

This will display only the Delete right in the view.

https://acme.privacy.saymine.io/acme-privacy?supportedRight=delete&supportedRight=getcopy

This will display both Delete and Copy rights.

Notes:

  • When no supportedRight parameters are provided, all rights will be displayed by our default behavior.
  • The supportedRight values must exactly match the internal right identifiers.