PR Fixes
This commit is contained in:
@@ -5,7 +5,7 @@ import { useEffect, useMemo, useRef } from "react"
|
||||
import { useEnterDetailsStore } from "@/stores/enter-details"
|
||||
|
||||
import { useSessionId } from "@/hooks/useSessionId"
|
||||
import { createSDKPageObject } from "@/utils/tracking"
|
||||
import { createSDKPageObject, pushToDataLayer } from "@/utils/tracking"
|
||||
|
||||
import { RoomPackageCodeEnum } from "@/types/components/hotelReservation/selectRate/roomFilter"
|
||||
import {
|
||||
@@ -145,7 +145,7 @@ export default function EnterDetailsTracking(props: Props) {
|
||||
}
|
||||
|
||||
//if (previousPathname.current !== pathName) {
|
||||
window.adobeDataLayer.push({
|
||||
pushToDataLayer({
|
||||
event: "pageView",
|
||||
pageInfo: pageObject,
|
||||
userInfo: userTrackingData,
|
||||
|
||||
Reference in New Issue
Block a user