feat: add GTM fired for integration with impact.com (#734)

This commit is contained in:
Zainab Amir
2023-01-13 15:07:16 +05:00
committed by GitHub
parent aa59acf0bc
commit 296861ce3a

View File

@@ -189,6 +189,12 @@ const RegistrationPage = (props) => {
type: 'event',
eventName: 'authn-register-conversion',
});
// Fire GTM event used for integration with impact.com
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'ImpactRegistrationEvent',
});
}
}, [registrationResult]);