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

    @99devco/analytics - v2.0.0

    99dev Analytics

    99dev logo

    99dev provides privacy and security focused web traffic analytics for only $1 per month. No pricing tiers, no fenced off premium features, and no misleading fractional pricing. Pay for what you use and only what you use. No charge for up to 5 months.

    You can play around with 99dev analytics on the live demo page.

    When you're ready to track your own sites, risk free, create an account and install the snippet using the instructions below.

    Install via npm:

    npm install @99devco/analytics
    

    Import into your project:

    import * as analytics from '@99devco/analytics';
    
    const analytics = require('@99devco/analytics');
    

    Install via CDN:

    <script src="https://cdn.99.dev/analytics.js"></script>
    <script>
    const analytics = window.nndev;
    </script>

    You must initialize the package with your site's uuid. By default, this will record a page view. On a traditional static website, this is all you need.

    analytics.init("your-uuid-goes-here");
    

    To use hash navigation, pass the navType:"hash" parameter and watch the hash changes.

    analytics.init({uuid:"your-uuid-goes-here", navType:"hash"});
    analytics.watch();

    See the official 99dev documentation page for further details about cybersecurity, metas, canonicals, etc.

    The 99dev analytics snippet is built with Typescript and includes type definitions throughout.

    Typescript/Javascript API docs (via Typedocs) are available here - https://99devco.github.io/analytics/modules/analytics.html

    Contributions are welcome! If you find a bug or have a feature request, please create an issue or submit a pull request.

    MIT License. See LICENSE for more information.

    If you have questions or need help, reach out to our support team or open an issue on GitHub.