ga4-export-fixer 0.1.1-dev.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,6 +14,7 @@ npm install ga4-export-fixer
14
14
 
15
15
  Include the package in the package.json file in your Dataform repository.
16
16
 
17
+ **`package.json`**
17
18
  ```json
18
19
  {
19
20
  "name": "my_dataform_repo",
@@ -45,14 +46,14 @@ The main features include:
45
46
 
46
47
  Create a new **ga4_events_enhanced** table using a **.js** file in your repository's **definitions** folder.
47
48
 
48
- ```javascript:definitions/ga4/ga4_events_enhanced.js
49
+ **`definitions/ga4/ga4_events_enhanced.js`**
50
+ ```javascript
49
51
  const { ga4EventsEnhanced } = require('ga4-export-fixer');
50
52
 
51
53
  const config = {
52
54
  sourceTable: constants.GA4_TABLES.MY_GA4_EXPORT
53
55
  };
54
56
 
55
- // Create a Dataform table (inside a JS file)
56
57
  ga4EventsEnhanced.createTable(publish, config);
57
58
  ```
58
59
 
@@ -60,7 +61,8 @@ ga4EventsEnhanced.createTable(publish, config);
60
61
 
61
62
  Alternatively, you can create the **ga4_events_enhanced** table using a .SQLX file.
62
63
 
63
- ```javascript:definitions/ga4/ga4_events_enhanced.sqlx
64
+ **`definitions/ga4/ga4_events_enhanced.sqlx`**
65
+ ```javascript
64
66
  config {
65
67
  type: "incremental",
66
68
  description: "GA4 Events Enhanced table",
@@ -76,7 +78,7 @@ js {
76
78
  const { ga4EventsEnhanced } = require('ga4-export-fixer');
77
79
 
78
80
  const config = {
79
- sourceTable: ref(constants.GA4_TABLES.TANELYTICS_GA4),
81
+ sourceTable: ref(constants.GA4_TABLES.MY_GA4_EXPORT),
80
82
  self: self(),
81
83
  incremental: incremental()
82
84
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.1.1-dev.0",
3
+ "version": "0.1.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [