Socket
Book a DemoInstallSign in
Socket

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
9
Versions
296
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

8.33.1
latest
Source
npmnpm
Version published
Weekly downloads
450
603.13%
Maintainers
9
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.trackPerformance();
  tracker.trackChromeWebVitals();
  tracker.trackAdInscreen0('.adunit');
  tracker.trackAdInscreen('.adunit');
  tracker.trackActiveTime();
  tracker.trackLinkClicks();
  tracker.trackArticleImpressions('article.preview,.article-list>li');
  tracker.trackAdDFP();
  tracker.trackVideos();
  tracker.trackConsent({
    uuid: '4f842ac4-50a1-40c7-bc8f-23a4373122f3_25',
    tcfV2:
      'CP00b0AP00b0AAGABBENAYEgAAAAAEPAACgAAAANXgLgAIAAqAB4AEAAMgAaABzAD8AM0AfoBEQCLAEiAJSAXUA6QB5gD7QJkAmUBSYC8wGCANXADCgAQA5jwAQAcwDzFQAQAcwEygAA.YAAAAAAAAAAA',
    kind: 'gdpr',
    consentGranted: true, // Aller Media consent
    consentedToAll: false,
    applies: false,
  });
  // Expose blink functions to other modules
  window.trackAdLoad = tracker.trackAdLoad;
  window.trackCustom = tracker.trackCustom;
  window.trackConsent = tracker.trackConsent;
}

initTracking();

Keywords

blink

FAQs

Package last updated on 06 Feb 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.