We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48cd377 commit 3ba5a5cCopy full SHA for 3ba5a5c
source/Plugins/GoogleAnalyticsV4/GAIHandler.cs
@@ -195,9 +195,9 @@ public void _buildCustomDimensionsDictionary<T>(HitBuilder<T> builder){
195
[DllImport("__Internal")]
196
private static extern void addCustomMetricToDictionary(int key, string value);
197
public void _buildCustomMetricsDictionary<T>(HitBuilder<T> builder){
198
- foreach(KeyValuePair<int, string> entry in builder.GetCustomMetrics())
+ foreach(KeyValuePair<int, float> entry in builder.GetCustomMetrics())
199
{
200
- addCustomMetricToDictionary(entry.Key, entry.Value);
+ addCustomMetricToDictionary(entry.Key, entry.Value.ToString());
201
}
202
203
0 commit comments