@ampless/plugin-analytics-ga4 0.2.0-alpha.3 → 0.2.0-alpha.5
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/dist/index.js +1 -0
- package/package.json +18 -3
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ function analyticsGa4Plugin(options = {}) {
|
|
|
4
4
|
const { measurementId = "", instanceId = "analytics-ga4" } = options;
|
|
5
5
|
return definePlugin({
|
|
6
6
|
name: "analytics-ga4",
|
|
7
|
+
packageName: "@ampless/plugin-analytics-ga4",
|
|
7
8
|
instanceId,
|
|
8
9
|
displayName: { en: "Google Analytics 4", ja: "Google Analytics 4" },
|
|
9
10
|
apiVersion: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/plugin-analytics-ga4",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.5",
|
|
4
4
|
"description": "Google Analytics 4 plugin for ampless",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
10
10
|
"types": "./dist/index.d.ts"
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
12
13
|
},
|
|
13
14
|
"files": [
|
|
14
15
|
"dist",
|
|
@@ -25,15 +26,29 @@
|
|
|
25
26
|
"homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-analytics-ga4#readme",
|
|
26
27
|
"bugs": "https://github.com/heavymoons/ampless/issues",
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"ampless": "1.0.0-alpha.
|
|
29
|
+
"ampless": "1.0.0-alpha.22"
|
|
29
30
|
},
|
|
30
31
|
"keywords": [
|
|
31
32
|
"ampless",
|
|
32
33
|
"plugin",
|
|
34
|
+
"ampless-plugin",
|
|
33
35
|
"analytics",
|
|
34
36
|
"ga4",
|
|
35
37
|
"google-analytics"
|
|
36
38
|
],
|
|
39
|
+
"amplessPlugin": {
|
|
40
|
+
"apiVersion": 1,
|
|
41
|
+
"name": "analytics-ga4",
|
|
42
|
+
"trustLevel": "untrusted",
|
|
43
|
+
"capabilities": [
|
|
44
|
+
"publicHead",
|
|
45
|
+
"adminSettings"
|
|
46
|
+
],
|
|
47
|
+
"displayName": {
|
|
48
|
+
"en": "Google Analytics 4",
|
|
49
|
+
"ja": "Google Analytics 4"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
37
52
|
"scripts": {
|
|
38
53
|
"build": "tsup",
|
|
39
54
|
"dev": "tsup --watch",
|