ga4-export-fixer 0.4.1-dev.1 → 0.4.1-dev.2

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.
@@ -209,7 +209,7 @@
209
209
  "source_platform": "Cross-channel source platform",
210
210
  "source": "Cross-channel source",
211
211
  "medium": "Cross-channel medium",
212
- "primary_channel_group": "Custom primary channel group for the session's last non-direct click",
212
+ "primary_channel_group": "The highest-level traffic categorization (e.g., Organic Search, Paid Social). Use this as the default dimension for all general 'traffic source' questions",
213
213
  "default_channel_group": "Default channel group for the session's last non-direct click"
214
214
  }
215
215
  },
@@ -16,7 +16,7 @@
16
16
  "items": "Product-level data array. Unnest with CROSS JOIN UNNEST(items) for item-level analysis. For product revenue and units sold, filter to event_name = 'purchase' and use item_revenue and quantity. Use item_category to filter or group by product category",
17
17
  "collected_traffic_source": "Event-level UTM parameters and click identifiers. For session-level attribution, prefer session_first_traffic_source instead",
18
18
  "session_first_traffic_source": "First-touch traffic source for the session. Use for session-level acquisition and campaign reporting",
19
- "session_traffic_source_last_click": "Google-attributed session traffic source. Use for last-click attribution analysis across Google Ads and manual channels",
19
+ "session_traffic_source_last_click": "Google-attributed session traffic source. For high-level 'traffic source' reporting, ALWAYS use .cross_channel_campaign.primary_channel_group as the primary dimension. Use .cross_channel_campaign.source as a secondary drill-down when granular detail is required",
20
20
  "data_is_final": "Data stability flag. Use WHERE data_is_final = true when you need only stable data that will not change in future refreshes",
21
21
  "export_type": "Source export type (daily, intraday, fresh). Use for debugging data freshness or filtering by export source",
22
22
  "row_inserted_timestamp": "Pipeline metadata. Use to identify when data was last refreshed or to debug incremental update issues"
@@ -99,7 +99,7 @@
99
99
  },
100
100
  {
101
101
  "field": "session_traffic_source_last_click",
102
- "note": "Primary field for traffic source analysis. Drill-down: (1) .cross_channel_campaign.primary_channel_group (default for vague traffic source questions), (2) .cross_channel_campaign.source / .medium, (3) .cross_channel_campaign.campaign_name.",
102
+ "note": "Primary field for traffic source analysis. When a user asks a general or vague question about 'traffic sources' or 'where traffic comes from', DEFAULT to .cross_channel_campaign.primary_channel_group. Only drill down to .source if the user explicitly mentions 'source' or specific site names.",
103
103
  "dependsOn": ["session_traffic_source_last_click"]
104
104
  },
105
105
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.4.1-dev.1",
3
+ "version": "0.4.1-dev.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [