In this article, we explained how you can add conditions to your deployment. In the following article, we will elaborate a bit more on the JS Variable condition.
The values you set in in the conditions are stored as a String. This has some implications if you want to check for a Boolean value in the variable on your page.
JS Variable if the condition is true
...