@adobe/helix-rum-enhancer 2.15.0 → 2.17.0
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/CHANGELOG.md +14 -0
- package/modules/defaults.js +1 -1
- package/modules/fflags.js +0 -2
- package/modules/index.js +0 -2
- package/package.json +1 -1
- package/src/index.js +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [2.17.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.16.0...v2.17.0) (2024-07-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **email:** rollout for all customers 2.x ([#222](https://github.com/adobe/helix-rum-enhancer/issues/222)) ([bb71ae6](https://github.com/adobe/helix-rum-enhancer/commit/bb71ae656fbb8c34ca5de3436f950a9e10e8f188))
|
|
7
|
+
|
|
8
|
+
# [2.16.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.15.0...v2.16.0) (2024-07-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* enable paid checkpoint for all ([#219](https://github.com/adobe/helix-rum-enhancer/issues/219)) ([5348744](https://github.com/adobe/helix-rum-enhancer/commit/5348744de770c024b2c9fe17962307e39293bf36))
|
|
14
|
+
|
|
1
15
|
# [2.15.0](https://github.com/adobe/helix-rum-enhancer/compare/v2.14.2...v2.15.0) (2024-07-01)
|
|
2
16
|
|
|
3
17
|
|
package/modules/defaults.js
CHANGED
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
export const KNOWN_PROPERTIES = ['weight', 'id', 'referer', 'checkpoint', 't', 'source', 'target', 'cwv', 'CLS', 'FID', 'LCP', 'INP', 'TTFB'];
|
|
13
|
-
export const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm'];
|
|
13
|
+
export const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid', 'email'];
|
package/modules/fflags.js
CHANGED
package/modules/index.js
CHANGED
|
@@ -31,8 +31,6 @@ function optedIn(checkpoint, data) {
|
|
|
31
31
|
function getCollectionConfig() {
|
|
32
32
|
// eslint-disable-next-line max-len
|
|
33
33
|
fflags.enabled('onetrust', () => DEFAULT_TRACKING_EVENTS.push('consent'));
|
|
34
|
-
fflags.enabled('ads', () => DEFAULT_TRACKING_EVENTS.push('paid'));
|
|
35
|
-
fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
|
|
36
34
|
return DEFAULT_TRACKING_EVENTS;
|
|
37
35
|
}
|
|
38
36
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
|
|
18
18
|
const KNOWN_PROPERTIES = ['weight', 'id', 'referer', 'checkpoint', 't', 'source', 'target', 'cwv', 'CLS', 'FID', 'LCP', 'INP', 'TTFB'];
|
|
19
|
-
const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm'];
|
|
19
|
+
const DEFAULT_TRACKING_EVENTS = ['click', 'cwv', 'form', 'enterleave', 'viewblock', 'viewmedia', 'loadresource', 'utm', 'paid', 'email'];
|
|
20
20
|
|
|
21
21
|
const fflags = {
|
|
22
22
|
has: (flag) => fflags[flag].indexOf(Array.from(window.origin)
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
enabled: (flag, callback) => fflags.has(flag) && callback(),
|
|
26
26
|
disabled: (flag, callback) => !fflags.has(flag) && callback(),
|
|
27
27
|
onetrust: [543, 770, 1136],
|
|
28
|
-
ads: [1139, 543],
|
|
29
|
-
email: [1139, 543],
|
|
30
28
|
};
|
|
31
29
|
|
|
32
30
|
const urlSanitizers = {
|
|
@@ -133,8 +131,6 @@
|
|
|
133
131
|
function getCollectionConfig() {
|
|
134
132
|
// eslint-disable-next-line max-len
|
|
135
133
|
fflags.enabled('onetrust', () => DEFAULT_TRACKING_EVENTS.push('consent'));
|
|
136
|
-
fflags.enabled('ads', () => DEFAULT_TRACKING_EVENTS.push('paid'));
|
|
137
|
-
fflags.enabled('email', () => DEFAULT_TRACKING_EVENTS.push('email'));
|
|
138
134
|
return DEFAULT_TRACKING_EVENTS;
|
|
139
135
|
}
|
|
140
136
|
|