wingbot 3.61.2 → 3.61.4
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/package.json
CHANGED
|
@@ -81,7 +81,7 @@ async function trackingEvent (req, res) {
|
|
|
81
81
|
gaApiSecret
|
|
82
82
|
} = req.configuration;
|
|
83
83
|
|
|
84
|
-
if (clientId && gaMeasurementId && gaApiSecret) {
|
|
84
|
+
if (type === 'report' && clientId && gaMeasurementId && gaApiSecret) {
|
|
85
85
|
|
|
86
86
|
const ev = transformEvent(c, a, l, v, req, res);
|
|
87
87
|
|
package/plugins/plugins.json
CHANGED
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
{
|
|
142
142
|
"id": "ai.wingbot.trackingEvent",
|
|
143
143
|
"name": "Report tracking event",
|
|
144
|
-
"description": "You can use handlebars templates here",
|
|
144
|
+
"description": "You can use handlebars templates here\nFrontend GA categories: generate_lead,view_item,purchase,tutorial_begin,tutorial_complete,sign_up,share\nFrontend GA action: item category\nFrontend GA label: currency (USD)",
|
|
145
145
|
"availableSince": 3.13,
|
|
146
146
|
"editable": false,
|
|
147
147
|
"isFactory": false,
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
{
|
|
163
163
|
"name": "category",
|
|
164
164
|
"type": "text",
|
|
165
|
-
"label": "Event category
|
|
165
|
+
"label": "Event category"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
"name": "action",
|