@adobe/spacecat-shared-rum-api-client 2.27.1 → 2.27.2
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 +7 -0
- package/package.json +1 -1
- package/src/functions/form-vitals.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-rum-api-client-v2.27.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.27.1...@adobe/spacecat-shared-rum-api-client-v2.27.2) (2025-05-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* disregarding CTAs without a valid source for low nav opportunities ([#769](https://github.com/adobe/spacecat-shared/issues/769)) ([1dc5d30](https://github.com/adobe/spacecat-shared/commit/1dc5d30ddaa4291061ea29c52c797aa6cfdca670))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-rum-api-client-v2.27.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.27.0...@adobe/spacecat-shared-rum-api-client-v2.27.1) (2025-05-26)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -114,7 +114,7 @@ function findFormCTAForInternalNavigation(bundles, formVitals) {
|
|
|
114
114
|
totalClickOnPage += bundle.weight;
|
|
115
115
|
const clickCheckpoint = bundle.events.find((e) => e.checkpoint === 'click' && e.target === url);
|
|
116
116
|
|
|
117
|
-
if (clickCheckpoint) {
|
|
117
|
+
if (clickCheckpoint && clickCheckpoint.source) {
|
|
118
118
|
const { source } = clickCheckpoint;
|
|
119
119
|
// Retrieves the existing CTA object if it exists; otherwise,
|
|
120
120
|
// initializes a new one with default values.
|