Contentful Personalization & Analytics
    Preparing search index...
    • Returns a stable callback to track screen views with dynamic names. Use this when screen names are not known at render time (e.g. navigation state).

      Returns (name: string, properties?: Record<string, JSONType>) => void

      A function that tracks a screen view given name and optional properties.