ga4-export-fixer 0.4.1-dev.0 → 0.4.1-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.
@@ -157,7 +157,7 @@
157
157
  }
158
158
  },
159
159
  "session_first_traffic_source": {
160
- "description": "The collected_traffic_source from the first event in the session (ordered by timestamp, nulls included). Useful for session-level first-click attribution",
160
+ "description": "The data extracted from the collected_traffic_source struct of the session's first event. Similar to the session_traffic_source_last_click but does not include last non-direct attribution. Meaning that sessions that started without a source of traffic are always reported as direct in this field. Can be useful for building custom attribution models.",
161
161
  "columns": {
162
162
  "manual_campaign_id": "Manual campaign ID (utm_id)",
163
163
  "manual_campaign_name": "Manual campaign name (utm_campaign)",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  {
44
44
  "terms": ["traffic source", "channel", "channel group", "source of traffic"],
45
- "sql": "session_traffic_source_last_click.cross_channel_campaign.primary_channel_group for top-level channel grouping. session_traffic_source_last_click.cross_channel_campaign.source, session_traffic_source_last_click.cross_channel_campaign.medium, and session_traffic_source_last_click.cross_channel_campaign.campaign_name for detailed source/medium/campaign analysis.",
45
+ "sql": "Drill-down hierarchy: (1) .primary_channel_group is the default — always use when asked vaguely about traffic sources or channels. (2) .source and .medium use when asked for source/medium breakdown. (3) .campaign_name — use when asked for campaign-level detail. All under session_traffic_source_last_click.cross_channel_campaign.",
46
46
  "dependsOn": ["session_traffic_source_last_click"]
47
47
  },
48
48
  {
@@ -99,7 +99,7 @@
99
99
  },
100
100
  {
101
101
  "field": "session_traffic_source_last_click",
102
- "note": "Primary field for traffic source analysis. Use .cross_channel_campaign.primary_channel_group for channel grouping. When asked about popular traffic sources, default to channel group unless specified otherwise.",
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.",
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.0",
3
+ "version": "0.4.1-dev.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [