|
@@ -8,6 +8,7 @@ using System.Security.Cryptography;
|
|
using System.Text;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Threading.Tasks;
|
|
using Windows.Data.Json;
|
|
using Windows.Data.Json;
|
|
|
|
+using Windows.Globalization;
|
|
|
|
|
|
namespace KdanCommon.Mixpanel.Data
|
|
namespace KdanCommon.Mixpanel.Data
|
|
{
|
|
{
|
|
@@ -46,6 +47,7 @@ namespace KdanCommon.Mixpanel.Data
|
|
{ "time", timeStamp },
|
|
{ "time", timeStamp },
|
|
{ "distinct_id", _distinctId },
|
|
{ "distinct_id", _distinctId },
|
|
{ "$insert_id", Guid.NewGuid().ToString("N") },
|
|
{ "$insert_id", Guid.NewGuid().ToString("N") },
|
|
|
|
+ { "UwpRegion", new GeographicRegion().CodeTwoLetter}
|
|
};
|
|
};
|
|
|
|
|
|
if (_customProperties != null)
|
|
if (_customProperties != null)
|