Socket
Socket
Sign inDemoInstall

komito-analytics

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

komito-analytics

Komito Analytics is an enhancement for the most popular analytics software.


Version published
Maintainers
2
Weekly downloads
54,669
decreased by-3.8%

Weekly downloads

Readme

Source

Komito Analytics Tweet

Build Status License Website NPM version NPM downloads

Komito Analytics is a free, open-source enhancement for the most popular web analytics software.
It unlocks power of digital analytics with additional insights about visitor's behavior.
For more information please visit Komito Analytics project page.

Install

$ npm install komito-analytics

Usage

const komito = require('komito-analytics');

// The default configuration can be omitted and only changed properties can be included.
// @see https://komito.net/integration/
komito.init({
  'trackTwitter': 1,     // Tracks Twitter events if widget is presented on page.
  'trackFacebook': 1,    // Tracks Facebook events if widget is presented on page.
  'trackLinkedIn': 1,    // Tracks LinkedIn events if plugin is presented on page.
  'trackDownloads': 1,   // Tracks files download links.
  'trackOutbound': 1,    // Tracks outbound links.
  'trackForms': 1,       // Tracks forms submissions.
  'trackUsers': 1,       // Tracks pageviews by users logged in to social networks.
  'trackActions': 1,     // Tracks 'mailto', 'tel', 'sms' and 'skype' actions.
  'trackPrint': 1,       // Tracks page print actions.
  'trackOrientation': 1, // Tracks orientation change on mobile devices.
  'trackAdblock': 0,     // Tracks page views with blocked ads. (Experimental)
  'trackErrorPages': 0,  // Tracks error pages. (Experimental)
  'sendHeartbeat': 0,    // Sends heartbeat event. (Default interval 30 seconds)
  'debugMode': 0,        // Prints all requests to console.
  'trackScroll': [25, 50, 75, 100], // Tracks scroll depth.
  'trackMedia': ['html5', 'vimeo', 'youtube'], // Tracks HTML5 video, audio, Vimeo and YouTube players events.
  'nonInteraction': ['adblock', 'audio', 'form', 'heartbeat',
                     'orientation', 'print', 'scroll', 'video'] // List of non interaction events.
});

Keywords

FAQs

Last updated on 19 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc