Track Hooks
useIgTrack()
useIgTrack()Required to gather analytics data. This hook runs client-side. The host site should provide each prop in whichever way best suits the site design.
interface UseIgTrackProps {
  cartOrCheckoutToken?: string | undefined | null;
  country?: string | undefined | null;
  currency?: string | undefined | null;
}
const useIgTrack = (props: UseIgTrackProps) => voidLast updated