ga4-export-fixer 0.5.2-dev.0 → 0.5.2-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.5.2-dev.0",
3
+ "version": "0.5.2-dev.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -275,13 +275,13 @@ ${excludedEventsSQL}`,
275
275
  name: 'item_list_data',
276
276
  columns: {
277
277
  '_event_row_id': '_event_row_id',
278
- '[sql]items': `array_agg(
278
+ 'items': `array_agg(
279
279
  (select as struct item.* replace(
280
280
  coalesce(if(${passthroughEvents}, item.item_list_name, _item_list_attr.item_list_name), '(not set)') as item_list_name,
281
281
  coalesce(if(${passthroughEvents}, item.item_list_id, _item_list_attr.item_list_id), '(not set)') as item_list_id,
282
282
  coalesce(if(${passthroughEvents}, item.item_list_index, _item_list_attr.item_list_index)) as item_list_index
283
283
  ))
284
- ) as items`,
284
+ )`,
285
285
  },
286
286
  from: `(select _event_row_id, event_name, item, ${attrExpr} as _item_list_attr from event_data, unnest(items) as item where event_name in (${ecommerceFilter}))`,
287
287
  groupBy: ['_event_row_id'],