visual-buried-point-platform-uni 1.0.0-alpha.7 → 1.0.0-alpha.8
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/README.md +3 -0
- package/index.js +1 -2
- package/package.json +2 -2
- package/tools.js +2 -2
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -109,7 +109,7 @@ export function setCustomEvent(data) {
|
|
|
109
109
|
reportData = {
|
|
110
110
|
ctk: data.$ctk ? data.$ctk : "",
|
|
111
111
|
duration: "",
|
|
112
|
-
element: null,
|
|
112
|
+
element: data.$element ? data.$element : null,
|
|
113
113
|
eventId: data.$event_id ? data.$event_id : "",
|
|
114
114
|
event: data.$event_code ? data.$event_code : "",
|
|
115
115
|
groupId: "",
|
|
@@ -122,7 +122,6 @@ export function setCustomEvent(data) {
|
|
|
122
122
|
title: _page.title ? _page.title : "",
|
|
123
123
|
url: _path ? _path : getUrl(platform),
|
|
124
124
|
},
|
|
125
|
-
path: data.$path ? data.$path : "",
|
|
126
125
|
properties: data.$extend_param ? JSON.stringify(data.$extend_param) : "",
|
|
127
126
|
traceId: "",
|
|
128
127
|
trackId: trackId,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visual-buried-point-platform-uni",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
4
|
-
"lsi": "
|
|
3
|
+
"version": "1.0.0-alpha.08",
|
|
4
|
+
"lsi": "ecd31a049b2d07f61d9d425b009cd74a",
|
|
5
5
|
"description": "To make it easy for you to get started with GitLab, here's a list of recommended next steps.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
package/tools.js
CHANGED
|
@@ -173,8 +173,8 @@ export function getTrackObj(busObj, platform) {
|
|
|
173
173
|
path: gcp.route,
|
|
174
174
|
domain: busObj.domain ? busObj.domain : "",
|
|
175
175
|
url: busObj.url ? busObj.url : getUrl(platform),
|
|
176
|
-
circulation:
|
|
177
|
-
visitPage:
|
|
176
|
+
circulation: pages.length > 1 ? 2 : 1,
|
|
177
|
+
visitPage: pages.length,
|
|
178
178
|
sourceDomain: busObj.sourceDomain ? busObj.sourceDomain : "",
|
|
179
179
|
sourceUrl: busObj.sourceUrl ? busObj.sourceUrl : "",
|
|
180
180
|
title: busObj.title ? busObj.title : "",
|