姜青儀 il y a 1 an
Parent
commit
749f50e576
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Mixpanel/Data/ImportRequest.cs

+ 2 - 0
Mixpanel/Data/ImportRequest.cs

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