@metarouter/ajs-starter-kit 1.0.42 → 1.0.43

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.
@@ -1 +1 @@
1
- "5587ad5d495a3cc4f186cb0d2db82ade"
1
+ "e5c3af010c18e1c5f58f83566ea8cdf5"
@@ -14,6 +14,10 @@
14
14
  {
15
15
  "date": "2022-08-11T00:00:00.000Z",
16
16
  "note": "Google Analytics 4 initial release."
17
+ },
18
+ {
19
+ "date": "2022-08-19T00:00:00.000Z",
20
+ "note": "Fix outputKey client_id"
17
21
  }
18
22
  ]
19
23
  }
@@ -1 +1 @@
1
- "acae0bf04ebb5b3ad40ee925f9750b9a"
1
+ "e46016add43281e1f7795a7a832f8ec9"
@@ -12,7 +12,7 @@
12
12
  "transforms": [
13
13
  {
14
14
  "expression": {
15
- "body": "local value = input.context.providers.google_gtag.data.ga\nif value == nil then value = input.anonymousId end\nreturn value",
15
+ "body": "local value = input.context.providers.googleGtag.data.ga\nif value == nil then \n return input.anonymousId\nelse\n local arr = {}\n local ga = SPLIT(value, \".\", 4)\n arr[1] = ga[3]\n arr[2] = ga[4]\n return JOIN(arr, \".\")\nend",
16
16
  "lang": "lua"
17
17
  }
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {