Skip to content

Commit

Permalink
feat: introduce navigation and traffic acquisition data in form audit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Kumar Singh authored and Rahul Kumar Singh committed Jan 25, 2025
1 parent c0a70b9 commit 2e2b44e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,11 @@ function findFormCTAForInternalNavigation(bundles, formVitals) {
});

// Convert CTAs Map to an array and store it in the nav object
return {
...nav,
CTAs: Array.from(CTAs.values()),
totalClickOnPage,
};
// eslint-disable-next-line no-param-reassign
nav.CTAs = Array.from(CTAs.values());
// eslint-disable-next-line no-param-reassign
nav.totalClicksOnPage = totalClickOnPage;
}
return nav;
});
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61375,6 +61375,30 @@
}
]
},
{
"id": "fx4g",
"host": "rum.hlx.page",
"time": "2024-10-29T08:00:00.865Z",
"timeSlot": "2024-10-29T08:00:00.000Z",
"url": "https://business.adobe.com/products/marketo.html",
"userAgent": "desktop:linux",
"weight": 100,
"events": [
{
"checkpoint": "click",
"source": "#tab-features-2",
"target": "https://business.adobe.com/jp/products/magento/magento-commerce.html"
},
{
"checkpoint": "viewblock",
"timeDelta": 883
},
{
"checkpoint": "viewblock",
"timeDelta": 882
}
]
},
{
"id": "g3jr",
"host": "rum.hlx.page",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@
{
"url": "https://business.adobe.com/products/marketo.html",
"pageview": {
"desktop:linux": 1900,
"desktop:linux": 2000,
"desktop:mac": 1300,
"desktop:windows": 1200,
"mobile:android": 300,
"mobile:ios": 200
}
},
"CTAs": [
{
"source": "#tab-features-2",
"clicks": 100
}
],
"totalClicksOnPage": 800
}
],
"trafficacquisition": {
Expand Down

0 comments on commit 2e2b44e

Please sign in to comment.