Have ideas to improve npm?Join in the discussion! »

    visitorkit

    1.0.0 • Public • Published

    Visitorkit-JS

    Install SDK

    The Visitorkit JavaScript Library is a set of methods attached to a global visitorkit object intended to be used by websites wishing to send data to Visitorkit projects. https://visitorkit.com/docs/

    npm install --save visitorkit
    import VK from "visitorkit";
    VK.init("SITE-ID");

    To disable auto pageview tracking.

    VK.init("SITE-ID", false);

    Events

    Track conversions

    VK.conversion("Sign-Up");

    Track events

    VK.event("Started Video");

    Track Pageviews

    VK.pageview();

    Keywords

    none

    Install

    npm i visitorkit

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    3.64 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar