@adobe/spacecat-shared-utils 1.36.0 → 1.36.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [@adobe/spacecat-shared-utils-v1.36.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.36.0...@adobe/spacecat-shared-utils-v1.36.1) (2025-04-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * enhance form calculations for view and submit ([#684](https://github.com/adobe/spacecat-shared/issues/684)) ([c7124b6](https://github.com/adobe/spacecat-shared/commit/c7124b680e0491150a489ecaf3e1d0e29d1f0946))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.36.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.35.2...@adobe/spacecat-shared-utils-v1.36.0) (2025-04-02)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.36.0",
3
+ "version": "1.36.1",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "engines": {
package/src/formcalc.js CHANGED
@@ -93,7 +93,7 @@ export function getHighFormViewsLowConversionMetrics(formVitalsCollection) {
93
93
  // Default to pageViews if formViews are not available
94
94
  const formViews = metrics.formview.total || pageViews;
95
95
  const formEngagement = metrics.formengagement.total;
96
- const formSubmit = metrics.formsubmit.total || formEngagement;
96
+ const formSubmit = metrics.formsubmit.total;
97
97
 
98
98
  if (hasHighPageViews(pageViews) && hasLowerConversionRate(formSubmit, formViews)) {
99
99
  urls.push({