We have Web SDK set up. In our Data Stream, under GEOLOCATION AND NETWORK LOOKUP, all the checkboxes including State/Province, and Country are clicked. In the Adobe Debugger, I found this variable xdm.placeContext.geo.stateProvince. It's set to my Country and Province.
I would like to use the value of stateProvince in a Custom Code in Launch; e.g. If xdm.placeContext.geo.stateProvince = "CA-ON", then do some action.
How can I refer to the stateProvince variable to use it in a custom code in Launch?