Page cover image

Define Multiple Conditions

Setting multiple conditions on your element is supported by appending a semicolon (;) to the value, serving as a separator between the conditions.

How Does It Work?

Having multiple conditions for your element is supported by using the semicolon (;) as a separator between each condition that you have defined.

How To Implement

Attribute Name
Attribute Value
Which Page Element?

data-geo-visibility

conditionName:conditionValue; conditionName:conditionValue

Any Element

The semicolon must be added after the value or any special characters.

Examples

Attribute Value

countryCode:AU;countryCode:CA

Description

The element is only visibile to visitors in either Australia or Canada.

Attribute Value

isMobile:true;countryCode:CA

Description

The element is visible to mobile visitors or anyone currently in Canada.

Attribute Value

city:Sydney;city:Melbourne

Description

The element is visibile to anyone that is currently in the cities Sydney or Melbourne.

Attribute Value

deviceType:Desktop;isEU:true

Description

The element is only visible to visitors in the European Union or desktop computer users.

Last updated

Was this helpful?