feat: Add framework to send all events fired for embed to Analytics Apps (#15173)

* Send all events to analytics apps

* feat: Start sending all events fired for embed to Analytics Apps(GTM Support added)

* Add tests
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-05-31 16:07:09 +00:00
1 parent 9e371ded90
commit 1730ef7d5d
11 files changed
+363 -21

No files matched your search

@@ -41,6 +41,7 @@ export const BookerWebWrapper = (props: BookerWebWrapperAtomProps) => {
const date = dayjs(selectedDate).format("YYYY-MM-DD");
useEffect(() => {
// This event isn't processed by BookingPageTagManager because BookingPageTagManager hasn't loaded when it is fired. I think we should have a queue in fire method to handle this.
sdkActionManager?.fire("navigatedToBooker", {});
}, []);