Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -203,7 +203,11 @@ class AutoTrackQueue { | @@ -203,7 +203,11 @@ class AutoTrackQueue { | ||
| 203 | }; | 203 | }; |
| 204 | 204 | ||
| 205 | event.params.forEach((k, v) { | 205 | event.params.forEach((k, v) { |
| 206 | + if(v is String){ | ||
| 206 | properties[k] = v; | 207 | properties[k] = v; |
| 208 | + }else { | ||
| 209 | + properties[k] = jsonEncode(v); | ||
| 210 | + } | ||
| 207 | }); | 211 | }); |
| 208 | 212 | ||
| 209 | datas.add({ | 213 | datas.add({ |
-
Please register or login to post a comment