Newton's Programmatic Measurements
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    gapublic

    Node-GA

    Server side google analytics

    Install

    npm install ga
    

    Usage

    var ua = "UA-XXX";
    var host = 'nodega.jga.me';
    var ga = new GoogleAnalytics(ua, host);
    ga.trackPage('testing/1');
    ga.trackEvent({
        category: 'Videos',
        action: 'Video Loading',
        label: 'Gone With the Wind',
        value: 42
    });
    

    install

    npm i ga

    Downloadslast 7 days

    1,309

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar