File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WooCommerce/Classes/Analytics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,9 +218,9 @@ private extension WooAnalytics {
218218
219219 /// Builds the necesary properties for the `application_opened` event.
220220 ///
221- func applicationOpenedProperties( _ configurationResult: Result < [ WidgetInfo ] , Error > ) -> [ String : [ String ] ] {
221+ func applicationOpenedProperties( _ configurationResult: Result < [ WidgetInfo ] , Error > ) -> [ String : String ] {
222222 guard let installedWidgets = try ? configurationResult. get ( ) else {
223- return [ " widgets " : [ ] ]
223+ return [ " widgets " : " " ]
224224 }
225225
226226 // Translate the widget kind into a name recognized by tracks.
@@ -234,7 +234,7 @@ private extension WooAnalytics {
234234 }
235235 }
236236
237- return [ " widgets " : widgetAnalyticNames]
237+ return [ " widgets " : widgetAnalyticNames. description ]
238238 }
239239}
240240
You can’t perform that action at this time.
0 commit comments