Home > @uniformdev/context-react > TrackFragment

TrackFragment() function

Tracks visitor behavior by adding enrichment score when they are shown a route with this component on it.

NOTE: if you wish to track on the visitor seeing the content in the browser viewport instead, use Track instead of TrackFragment.

Signature:

Parameters

ParameterTypeDescription
{ behavior, children }TrackFragmentProps

Returns:

react__default.JSX.Element