API Reference - WebPortal.getCountry()
WebPortal.getCountry()
WebPortal.getCountry()
| Description | Gets the country currently selected by the user. | 
| Response | StringThe country’s name. | 
| Parameter | Void | 
Example
1
2
3
4
var userCountry = WebPortal.getCountry()
if (userCountry === "France") {
	DisplayFranceContent()
}