In the following table, you will have all the available properties that we offer for the A/B Testing:
Case sensitive
Every single property is case sensitive, so an incorrect input may lead to an unwanted result.
TCF
For your TCF 2.2 CMP only the specific TCF 2.2 properties can be used for A/B Testing.
Layout style
Label | Property | Option | Example |
|---|---|---|---|
Background Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Text Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Link Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Tab Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Accent Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"color": {
"layerBackground": "0045A5",
"text": "000000",
"linkFont": "000000",
"secondLayerTab": "FAFAFA",
"tabsBorderColor": "0045A5"
}
}
}
}First Layer Properties
Label | Property | Option | Example |
|---|---|---|---|
First Layer Layout |
|
|
|
Display Categories |
|
|
|
Hide Language Switch |
|
|
|
Show "Deny All" Button |
|
|
|
More Information Trigger |
|
|
|
First Layer Background Overlay |
|
|
|
First Layer Wall Button Alignment |
|
|
|
First Layer Short Message |
| Any Text |
|
Close CMP without accepting |
|
|
|
Example
{
"variant0": {},
"variant1": {
"firstLayer": {
"variant": "WALL",
"isCategoryTogglesEnabled": true,
"hideLanguageSwitch": true,
"hideButtonDeny": false,
"secondLayerTrigger": "BUTTON",
"isOverlayEnabled": false,
"shortMessage": "short message example",
"closeOption": "LINK"
},
"customization": {
"buttonAlignment": "HORIZONTAL"
}
}
} First Layer Content Properties
Label | Property | Option | Example |
|---|---|---|---|
First Layer Title |
| Any Text |
|
Banner Message |
| Any Text |
|
Show Short Description on Mobile and Tablet Devices |
|
|
|
Short Description |
| Any Text |
|
Read More Label |
| Any Text |
|
Imprint URL |
| Valid URL |
|
Imprint Link Text |
| Any Text |
|
Privacy Policy URL |
| Valid URL |
|
Privacy Policy Link Text |
| Any Text |
|
First Layer Use Short Message |
|
|
|
Example
{
"variant0": {},
"variant1": {
"bannerMessage": "Banner Message for First Layer<br>",
"bannerMobileDescriptionIsActive": true,
"bannerMobileDescription": "Short Description for First Layer",
"imprintUrl": "www.example.com/imprint",
"privacyPolicyUrl": "www.example.com/privacy-policy",
"labels": {
"firstLayerTitle": "First Layer",
"btnBannerReadMore": "Read More",
"imprintLinkText": "Imprint",
"privacyPolicyLinkText": "Privacy Policy"
},
"firstLayer": {
"useShortMessage": true
}
}Second Layer Properties
Label | Property | Option | Example |
|---|---|---|---|
Second Layer Layout |
|
|
|
Privacy Settings Side Position |
|
|
|
Hide Language Switch |
|
|
|
Show ‘Deny All’ Button |
|
|
|
Second Layer Background Overlay |
|
|
|
Second Layer Default View |
|
|
|
Example
{
"variant0": {},
"variant1": {
"secondLayer": {
"variant": "CENTER",
"side": "LEFT",
"hideLanguageSwitch": true,
"hideButtonDeny": false,
"isOverlayEnabled": true,
"defaultView": "CAT"
}
}
}Second Layer Content
Label | Property | Option | Example |
|---|---|---|---|
Second Layer Title |
| Any Text |
|
Second Layer Description |
| Any Text |
|
Example
{
"variant0": {},
"variant1": {
"labels": {
"headerCorner": "Second Layer Title",
"titleCorner": "Second Layer Description Message"
}
}
}Privacy Trigger Properties
Label | Property | Option | Example |
|---|---|---|---|
Privacy Button Trigger |
|
|
|
Privacy Button Allowed URLs |
|
|
|
Privacy Button Icon |
|
|
|
Custom Icon for Privacy Button |
| Valid URL |
|
Choose Button Position |
|
|
|
Background Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"color": {
"privacyButtonBackground": "0045A5"
}
},
"privacyButtonIsVisible": true,
"privacyButtonUrls": {
"contains": ["/path"]
},
"buttonPrivacyOpenIconUrl": "https://img.usercentrics.eu/misc/icon-fingerprint@2X.png",
"buttonDisplayLocation": "bl"
}
}Logo Properties
Label | Property | Option | Example |
|---|---|---|---|
Logo URL |
| Valid URL |
|
Logo Position (First Layer) |
|
|
|
Logo Alt-Tag |
| Any Text |
|
Example
{
"variant0": {},
"variant1": {
"firstLayer": {
"logoPosition": "LEFT",
},
"customization": {
"logoUrl": "https://www.example.com/logo.png",
"logoAltTag": "Alternative Tag"
}
}
}Fonts Properties
Label | Property | Option | Example |
|---|---|---|---|
Font-Family |
| “System fonts (Default)”, “Helvetica”, “Verdana”, “Georgia”, “Arial” or “Custom font” |
|
Font-Family Custom Field |
| Any Custom Font that you want to add (Note: those fonts must be included in your website to make it work) |
|
Font-Size |
| 12, 14, 16, 18 |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"font": {
"family": "Helvetica",
"size": 16
}
}
}
}Buttons Properties
Label | Property | Option | Example |
|---|---|---|---|
Accept Button (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Accept Button (Text) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Deny Button (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Deny Button (Text) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Save Button (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Save Button (Text) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
More Button (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
More Button (Text) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Rounded corners (px) |
| Enter Any Number |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"borderRadiusButton": 4,
"color": {
"acceptBtnBackground": "0045A5",
"acceptBtnText": "FAFAFA",
"denyBtnBackground": "0045A5",
"denyBtnText": "FAFAFA",
"moreBtnBackground": "0045A5",
"moreBtnText": "FAFAFA",
"saveBtnBackground": "0045A5",
"saveBtnText": "FAFAFA"
}
}
}
}Toggles Properties
Label | Property | Option | Example |
|---|---|---|---|
Active Toggle (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Active Toggle (Icon) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Disabled Toggle (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Disabled Toggle (Icon) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Inactive Toggle (Background) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Inactive Toggle (Icon) |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"color": {
"toggleActiveBackground": "0045A5",
"toggleActiveIcon": "FAFAFA",
"toggleInactiveBackground": "989898",
"toggleInactiveIcon": "FAFAFA",
"toggleDisabledBackground": "FA0000",
"toggleDisabledIcon": "FAFAFA"
}
}
}
}TCF 2.2 Properties
Label | Property | Option | Example |
|---|---|---|---|
TCF2 Accept All Button Label |
| Any Text |
|
TCF2 Deny All Button Label |
| Any Text |
|
TCF2 Save Button Label |
| Any Text |
|
TCF2 Manage Settings Label |
| Any Text |
|
TCF2 Data Shared Outside Europe Text |
| Any Text |
|
TCF2 First Layer Hide Deny Button |
|
|
|
TCF2 First layer Hide Toggles |
|
|
|
TCF2 First layer Show Descriptions |
|
|
|
TCF2 First Layer Title |
| Any Text |
|
TCF2 Hide Legitimate Interest Toggles |
|
|
|
TCF2 Second Layer Hide Deny Button |
|
|
|
TCF2 Second Layer Hide Toggles |
|
|
|
TCF2 Second Layer Title |
| Any Text |
|
TCF2 Hide Non IAB Vendors on First Layer |
|
|
|
Example
{
"variant0": {},
"variant1": {
"tcf2": {
"buttonsAcceptAllLabel": "Accept all",
"buttonsDenyAllLabel": "Deny all",
"buttonsSaveLabel": "Save Settings",
"linksManageSettingsLabel": "More Settings"
"dataSharedOutsideEUText": "Outside EU Text",
"firstLayerHideButtonDeny": false,
"firstLayerHideToggles": false,
"firstLayerShowDescriptions": false,
"firstLayerTitle": "Privacy Information",
"hideLegitimateInterestToggles": false,
"secondLayerHideButtonDeny": true,
"secondLayerHideToggles": false,
"secondLayerTitle": "Privacy Settings",
"hideNonIabOnFirstLayer": false
}
}
}CCPA First Layer Properties
Label | Property | Option | Example |
|---|---|---|---|
CCPA First Layer Layout |
|
|
|
CCPA Hide Language Switch |
|
|
|
Example
{
"variant0": {},
"variant1": {
"ccpa": {
"firstLayerVariant": "BANNER",
"firstLayerHideLanguageSwitch": true
}
}
}CCPA Second Layer Properties
Label | Property | Option | Example |
|---|---|---|---|
CCPA Second Layer Layout |
|
|
|
CCPA Hide Language Switch |
|
| { "variant1": { "ccpa": { "secondLayerHideLanguageSwitch": true } } } |
Example
{
"variant0": {},
"variant1": {
"ccpa": {
"secondLayerVariant": "CENTER",
"secondLayerHideLanguageSwitch": true
}
}
}CCPA Button Properties
Label | Property | Option | Example |
|---|---|---|---|
Okay Button CCPA Background Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Okay Button CCPA Text Color |
| Hexadecimal Color Code (On the Admin Interface, For A/B Testing remove the # ) |
|
Example
{
"variant0": {},
"variant1": {
"customization": {
"color": {
"ccpaButtonColor": "0045A5",
"ccpaButtonTextColor": "FFFFFF",
}
}
}
}Labels Properties
Warning
These Labels are affected by different translations. This Property table is ENGLISH-only.
Label | Property | Option | Example |
|---|---|---|---|
Button: Save |
| Any Text |
|
Button: Deny All |
| Any Text |
|
Button: More |
| Any Text |
|
Button: Accept All |
| Any Text |
|
History (Title) |
| Any Text |
|
Example
{
"variant0": {},
"variant1": {
"labels": {
"btnSave": "Save Services",
"btnDeny": "Deny",
"btnMore": "More",
"btnAcceptAll": "Accept All",
"history": "History"
}
}
}Links in Banner Message
In case you want to add links to your variant's banner message property on the first layer, you can use the following links:
Type | Link |
|---|---|
Accept All |
|
Deny All |
|
More Information |
|
Regular Link |
|