Skip to content

Commit

Permalink
Adjust for fix to getcustommetrics
Browse files Browse the repository at this point in the history
  • Loading branch information
baldwin628 committed Oct 23, 2017
1 parent 48cd377 commit 3ba5a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Plugins/GoogleAnalyticsV4/GAIHandler.cs
Expand Up @@ -195,9 +195,9 @@ public class GAIHandler {
[DllImport("__Internal")]
private static extern void addCustomMetricToDictionary(int key, string value);
public void _buildCustomMetricsDictionary<T>(HitBuilder<T> builder){
foreach(KeyValuePair<int, string> entry in builder.GetCustomMetrics())
foreach(KeyValuePair<int, float> entry in builder.GetCustomMetrics())
{
addCustomMetricToDictionary(entry.Key, entry.Value);
addCustomMetricToDictionary(entry.Key, entry.Value.ToString());
}
}

Expand Down

0 comments on commit 3ba5a5c

Please sign in to comment.