@99devco/analytics - v2.0.0
    Preparing search index...
    • Records a page view in the analytics system.

      Parameters

      • Optionalurl: string

        Optional URL to record. If not provided, the current page URL will be used

      • Optionalreferrer: string

        Optional referrer URL. If not provided, the document referrer will be used

      Returns void

      // Record current page view
      recordView();

      // Record specific URL and referrer
      recordView('https://example.com/page', 'https://example.com');