Wondering what’s next for npm?Check out our public roadmap! »

    @asayerio/tracker

    5.6.8 • Public • Published

    Asayer Tracker

    The main package of the Asayer tracker.

    Installation

    npm i @asayerio/tracker --save

    Usage

    Initialize the package from your codebase entry point and start the tracker. You must set the projectID option in the constructor. Its value can can be found in your Asayer dashboard under Preferences -> Projects.

    import Tracker from '@asayerio/tracker';
    
    const tracker = new Tracker({
      projectID: PROJECT_ID,
    });
    tracker.start();

    Then you can use Asayer JavaScript API anywhere in your code.

    tracker.userID('my_user_id');
    tracker.metadata('env', 'prod');

    Read our docs for more information.

    Install

    npm i @asayerio/tracker

    DownloadsWeekly Downloads

    1,054

    Version

    5.6.8

    License

    MIT

    Unpacked Size

    344 kB

    Total Files

    92

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar