adding hubspotutk to properties for pageview (#1759)

This commit is contained in:
jasonbryant84
2025-07-04 12:56:18 +01:00
committed by GitHub
parent 2abf9adda8
commit c15c82a651
@@ -97,7 +97,10 @@ const trackPageView = () => {
const name = nameMapper(window.location.href);
const isFirstPageView = localStorage.getItem('isFirstPageView');
const properties = { isFirstPageView };
const properties = {
isFirstPageView,
hubspotutk: getCookie('hubspotutk'),
};
addGA4Properties(properties);
window.analytics.page(category, name, properties);