Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
16
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aller/blink-labrador

Library for using blink on Labrador

  • 0.8.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by71.48%
Maintainers
16
Weekly downloads
 
Created
Source

A package that uses blink for analytics on Labrador pages

Installation

npm install @aller/blink-labrador

Usage

import BlinkLabrador from './blink-labrador';

function initTracking() {
  const tracker = new BlinkLabrador();
  tracker.trackPageload();
  tracker.trackAdInscreen0('.adunit');
  tracker.trackAdInscreen('.adunit');
  tracker.trackActiveTime();
  tracker.trackLinkClicks();
  tracker.trackArticleImpressions('article.preview,.article-list>li');
  tracker.trackAdDFP();
}

initTracking();

Releasing

  1. Make sure that the latest changes is merged into master via a pull request

  2. If it is a bugfix run npm version patch, if it is a new feature run npm version minor, and if where is a breaking change run npm version major. We use semantic versionion, and 1.0.0 is no holy grail for "finished" software, and we should not be afraid of releasing major versions.

  3. Publish it by running npm publish. This will transpile all files and publish them to npm.

  4. Push the release to GitHub by running git push and git push --tags from master.

  5. It is greatly appreciated if you write a summary of the release on GitHub releases. You do that by opening the releases overview page on GitHub, clicking your newly pushed release, and then clicking the "Edit tag" button.

Keywords

FAQs

Package last updated on 16 Oct 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc