Required to gather analytics data. This hook runs client-side and is exported from the framework-specific entry points (for example, @intelligems/headless/next-clientside, @intelligems/headless/next-clientside-app-directory, @intelligems/headless/gatsby, @intelligems/headless/pack, and @intelligems/headless/hydrogen).
It wires up:
Page view tracking
Cart attribute updates via useIgCart
Custom events setup via useIgCustomEvents
GA4 variation tracking via useIgGaTrack
The host site should provide each prop in whichever way best suits the site integration.