@adtrackify/at-tracking-event-types 3.1.79 → 3.1.81
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/cjs/types/api/measures/definitions/channel-measure-definitions.js +8 -8
- package/dist/cjs/types/api/measures/definitions/channel-measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js +2 -2
- package/dist/cjs/types/api/measures/definitions/core-measure-definitions.js.map +1 -1
- package/dist/cjs/types/api/measures/definitions/measure-definitions.d.ts +1 -187
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js +0 -191
- package/dist/cjs/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js +8 -8
- package/dist/esm/types/api/measures/definitions/channel-measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/core-measure-definitions.js +2 -2
- package/dist/esm/types/api/measures/definitions/core-measure-definitions.js.map +1 -1
- package/dist/esm/types/api/measures/definitions/measure-definitions.d.ts +1 -187
- package/dist/esm/types/api/measures/definitions/measure-definitions.js +0 -191
- package/dist/esm/types/api/measures/definitions/measure-definitions.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { FACEBOOK_MEASURES_MAP } from './facebook-measure-definitions';
|
|
2
2
|
import { SHOPIFY_MEASURES_MAP } from './shopify/shopify-measure-definitions';
|
|
3
3
|
import { TRACKED_MEASURES_MAP } from './tracked-measure-definitions';
|
|
4
|
-
import { MEASURE } from '../measures';
|
|
5
|
-
import { FIELDS } from '../../query';
|
|
6
4
|
import { CORE_MEASURES_MAP } from './core-measure-definitions';
|
|
7
5
|
import { CHANNEL_MEASURES_MAP } from './channel-measure-definitions';
|
|
8
|
-
import { MEASURE_CATEGORY } from './measure-categories';
|
|
9
6
|
import { GOOGLE_MEASURES_MAP } from './google-measure-definitions';
|
|
10
|
-
import { MeasureValueType } from './measure-value-type';
|
|
11
|
-
import { ATTRIBUTION_APPLICABLE_CONTEXTS } from './measure-applicable-contexts';
|
|
12
7
|
export var MEASURE_VARIANT;
|
|
13
8
|
(function (MEASURE_VARIANT) {
|
|
14
9
|
MEASURE_VARIANT["FIRST_TIME"] = "first_time";
|
|
@@ -28,191 +23,5 @@ export const MEASURES_MAP = {
|
|
|
28
23
|
...TRACKED_MEASURES_MAP,
|
|
29
24
|
...CORE_MEASURES_MAP,
|
|
30
25
|
...CHANNEL_MEASURES_MAP,
|
|
31
|
-
[FIELDS.SHOPIFY_ORDER_ID]: {
|
|
32
|
-
title: 'Order ID',
|
|
33
|
-
description: 'The ID of the order.',
|
|
34
|
-
sumPrefix: '',
|
|
35
|
-
sumSuffix: '',
|
|
36
|
-
avgPrefix: '',
|
|
37
|
-
avgSuffix: '',
|
|
38
|
-
icon: 'shopify',
|
|
39
|
-
measure: FIELDS.SHOPIFY_ORDER_ID,
|
|
40
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
41
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
42
|
-
},
|
|
43
|
-
[FIELDS.SHOPIFY_ORDER_NAME]: {
|
|
44
|
-
title: 'Order Name',
|
|
45
|
-
description: 'The name of the order.',
|
|
46
|
-
sumPrefix: '',
|
|
47
|
-
sumSuffix: '',
|
|
48
|
-
avgPrefix: '',
|
|
49
|
-
avgSuffix: '',
|
|
50
|
-
icon: 'shopify',
|
|
51
|
-
measure: FIELDS.SHOPIFY_ORDER_NAME,
|
|
52
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
53
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
54
|
-
},
|
|
55
|
-
[FIELDS.SHOPIFY_ORDER_CREATED_DATE]: {
|
|
56
|
-
title: 'Order Created Date',
|
|
57
|
-
description: 'The date the order was created.',
|
|
58
|
-
sumPrefix: '',
|
|
59
|
-
sumSuffix: '',
|
|
60
|
-
avgPrefix: '',
|
|
61
|
-
avgSuffix: '',
|
|
62
|
-
icon: 'shopify',
|
|
63
|
-
measure: FIELDS.SHOPIFY_ORDER_CREATED_DATE,
|
|
64
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
65
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
66
|
-
},
|
|
67
|
-
[FIELDS.SHOPIFY_ORDER_IS_NEW_CUSTOMER]: {
|
|
68
|
-
title: 'Order Is New Customer',
|
|
69
|
-
description: 'Whether the order is from a new customer.',
|
|
70
|
-
sumPrefix: '',
|
|
71
|
-
sumSuffix: '',
|
|
72
|
-
avgPrefix: '',
|
|
73
|
-
avgSuffix: '',
|
|
74
|
-
icon: 'shopify',
|
|
75
|
-
measure: FIELDS.SHOPIFY_ORDER_IS_NEW_CUSTOMER,
|
|
76
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
77
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
78
|
-
},
|
|
79
|
-
[FIELDS.SHOPIFY_ORDER_CUSTOMER_EMAIL]: {
|
|
80
|
-
title: 'Order Customer Email',
|
|
81
|
-
description: 'The email of the customer.',
|
|
82
|
-
sumPrefix: '',
|
|
83
|
-
sumSuffix: '',
|
|
84
|
-
avgPrefix: '',
|
|
85
|
-
avgSuffix: '',
|
|
86
|
-
icon: 'shopify',
|
|
87
|
-
measure: FIELDS.SHOPIFY_ORDER_CUSTOMER_EMAIL,
|
|
88
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
89
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
90
|
-
},
|
|
91
|
-
[FIELDS.SHOPIFY_ORDER_CUSTOMER_PHONE]: {
|
|
92
|
-
title: 'Order Customer Phone',
|
|
93
|
-
description: 'The phone number of the customer.',
|
|
94
|
-
sumPrefix: '',
|
|
95
|
-
sumSuffix: '',
|
|
96
|
-
avgPrefix: '',
|
|
97
|
-
avgSuffix: '',
|
|
98
|
-
icon: 'shopify',
|
|
99
|
-
measure: FIELDS.SHOPIFY_ORDER_CUSTOMER_PHONE,
|
|
100
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
101
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
102
|
-
},
|
|
103
|
-
[FIELDS.TRACKED_CONVERSION_TOUCHPOINTS]: {
|
|
104
|
-
title: 'Order Source Touchpoints',
|
|
105
|
-
description: 'The number of touchpoints for the order.',
|
|
106
|
-
sumPrefix: '',
|
|
107
|
-
sumSuffix: '',
|
|
108
|
-
avgPrefix: '',
|
|
109
|
-
avgSuffix: '',
|
|
110
|
-
icon: 'shopify',
|
|
111
|
-
measure: FIELDS.TRACKED_CONVERSION_TOUCHPOINTS,
|
|
112
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
113
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
114
|
-
},
|
|
115
|
-
['mktAdId']: {
|
|
116
|
-
title: 'MKT Ad ID',
|
|
117
|
-
description: 'The ID of the marketing ad.',
|
|
118
|
-
sumPrefix: '',
|
|
119
|
-
sumSuffix: '',
|
|
120
|
-
avgPrefix: '',
|
|
121
|
-
avgSuffix: '',
|
|
122
|
-
icon: 'upstack',
|
|
123
|
-
measure: 'mktAdId',
|
|
124
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
125
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
126
|
-
},
|
|
127
|
-
['source']: {
|
|
128
|
-
title: 'Source',
|
|
129
|
-
description: 'The source of the marketing ad.',
|
|
130
|
-
sumPrefix: '',
|
|
131
|
-
sumSuffix: '',
|
|
132
|
-
avgPrefix: '',
|
|
133
|
-
avgSuffix: '',
|
|
134
|
-
icon: 'upstack',
|
|
135
|
-
measure: 'source',
|
|
136
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
137
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
138
|
-
},
|
|
139
|
-
['campaign']: {
|
|
140
|
-
title: 'Campaign',
|
|
141
|
-
description: 'The campaign of the marketing ad.',
|
|
142
|
-
sumPrefix: '',
|
|
143
|
-
sumSuffix: '',
|
|
144
|
-
avgPrefix: '',
|
|
145
|
-
avgSuffix: '',
|
|
146
|
-
icon: 'upstack',
|
|
147
|
-
measure: 'campaign',
|
|
148
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
149
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
150
|
-
},
|
|
151
|
-
['content']: {
|
|
152
|
-
title: 'Content',
|
|
153
|
-
description: 'The content of the marketing ad.',
|
|
154
|
-
sumPrefix: '',
|
|
155
|
-
sumSuffix: '',
|
|
156
|
-
avgPrefix: '',
|
|
157
|
-
avgSuffix: '',
|
|
158
|
-
icon: 'upstack',
|
|
159
|
-
measure: 'content',
|
|
160
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
161
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
162
|
-
},
|
|
163
|
-
['medium']: {
|
|
164
|
-
title: 'Medium',
|
|
165
|
-
description: 'The medium of the marketing ad.',
|
|
166
|
-
sumPrefix: '',
|
|
167
|
-
sumSuffix: '',
|
|
168
|
-
avgPrefix: '',
|
|
169
|
-
avgSuffix: '',
|
|
170
|
-
icon: 'upstack',
|
|
171
|
-
measure: 'medium',
|
|
172
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
173
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
174
|
-
},
|
|
175
|
-
['term']: {
|
|
176
|
-
title: 'Term',
|
|
177
|
-
description: 'The term of the marketing ad.',
|
|
178
|
-
sumPrefix: '',
|
|
179
|
-
sumSuffix: '',
|
|
180
|
-
avgPrefix: '',
|
|
181
|
-
avgSuffix: '',
|
|
182
|
-
icon: 'upstack',
|
|
183
|
-
measure: 'term',
|
|
184
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
185
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
186
|
-
},
|
|
187
|
-
[MEASURE.TRACKED_EVENTS]: {
|
|
188
|
-
title: 'Events',
|
|
189
|
-
description: 'The number of events.',
|
|
190
|
-
sumPrefix: '',
|
|
191
|
-
sumSuffix: '',
|
|
192
|
-
avgPrefix: '',
|
|
193
|
-
avgSuffix: '',
|
|
194
|
-
icon: 'shopify',
|
|
195
|
-
measure: MEASURE.TRACKED_EVENTS,
|
|
196
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
197
|
-
valueType: MeasureValueType.NUMBER,
|
|
198
|
-
decimalPlaces: 0,
|
|
199
|
-
useCompactNotation: false,
|
|
200
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
201
|
-
},
|
|
202
|
-
[MEASURE.TRACKED_EVENTS_VALUE]: {
|
|
203
|
-
title: 'Events Value',
|
|
204
|
-
description: 'The value of the events.',
|
|
205
|
-
sumPrefix: '$',
|
|
206
|
-
sumSuffix: '',
|
|
207
|
-
avgPrefix: '$',
|
|
208
|
-
avgSuffix: '',
|
|
209
|
-
icon: 'shopify',
|
|
210
|
-
measure: MEASURE.TRACKED_EVENTS_VALUE,
|
|
211
|
-
category: MEASURE_CATEGORY.CUSTOM_METRICS,
|
|
212
|
-
valueType: MeasureValueType.CURRENCY,
|
|
213
|
-
decimalPlaces: 2,
|
|
214
|
-
useCompactNotation: true,
|
|
215
|
-
applicableContexts: ATTRIBUTION_APPLICABLE_CONTEXTS
|
|
216
|
-
}
|
|
217
26
|
};
|
|
218
27
|
//# sourceMappingURL=measure-definitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure-definitions.js","sourceRoot":"","sources":["../../../../../../src/types/api/measures/definitions/measure-definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"measure-definitions.js","sourceRoot":"","sources":["../../../../../../src/types/api/measures/definitions/measure-definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAInE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,4CAAyB,CAAA;IACzB,0CAAuB,CAAA;AACzB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAQD,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,yCAA2B,CAAA;IAC3B,+BAAiB,CAAA;IACjB,yCAA2B,CAAA;IAC3B,yCAA2B,CAAA;AAC7B,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAqBD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,GAAG,qBAAqB;IACxB,GAAG,mBAAmB;IACtB,GAAG,oBAAoB;IACvB,GAAG,oBAAoB;IACvB,GAAG,iBAAiB;IACpB,GAAG,oBAAoB;CA8LxB,CAAC"}
|