# Can the web widget be shown or hidden based on the user's IP address or country?
# Question

Can the web widget be shown or hidden based on the user's IP address or country?

# Answer

Yes. Such conditions are usually set up in the code of the website or app where the Swarmica web chat is embedded. The website or app determines the user's IP address or country and decides whether to connect and display the widget according to predefined rules.

**Details:** [Embeddable Web Widget](https://support.swarmica.com/article/ru/599-встраиваемый-веб-виджет.html) · [Widget Initialization Parameters](https://support.swarmica.com/article/ru/1108-параметры-инициализации-виджетов.html)