To detect a visitor country I see this below code suggested in many forums, but I cant get it working.
modGlobal.ResolveCountry.ThreeLetterISORegionName<
Try to get the ip from the visitor and look up the trace data from it
Maybe have a look at this: How to get visitor location ( country, state and city ) using ASP.NET