@99devco/analytics - v2.0.0
    Preparing search index...

    Interface AnalyticsConfig

    Configuration interface for the analytics library AnalyticsConfig

    interface AnalyticsConfig {
        uuid: string;
        navType: "natural" | "history" | "hash";
        apiUrl: string;
        normalizeUrls: boolean;
        trackPageRefreshes: boolean;
        debug: boolean;
    }
    Index

    Properties

    uuid: string

    Unique identifier for your site

    navType: "natural" | "history" | "hash"

    Navigation type to watch for page changes

    apiUrl: string

    API endpoint for analytics data

    normalizeUrls: boolean

    Whether to normalize URLS to remove trailing slashes, file extensions, and query parameters

    trackPageRefreshes: boolean

    Whether to track page refreshes as views

    debug: boolean

    Whether to debug logs