New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@livechat/store-metrics

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livechat/store-metrics

Reads and stores various marketing parameters as cookies. Super Important Thing for Marketing Team™.

  • 0.1.1
  • npm
  • Socket score

Version published
Weekly downloads
116
decreased by-3.33%
Maintainers
5
Weekly downloads
 
Created
Source

@livechat/store-metrics

Reads and stores various marketing parameters as cookies. Super Important Thing for Marketing Team™.

Installation

npm install --save @livechat/store-metrics

Usage

Apps

Library exposes only one function that creates subdomain scoped cookies (*.example.com) based on document.location and document.referrer. Make sure to fire it as early as possible, before redirects etc.

import storeMetrics from "@livechat/store-metrics";
storeMetrics();

NOTE: store-metrics makes use of URL API. Polyfill for older browser is highly encouraged. We do not bundle any, as your app may already use some polyfill. However, we recommend inexorabletash/polyfill:

npm install --save js-polyfills
import "js-polyfills/url";

Websites

<script src="TBA/store-metrics.min.js"></script>

Development

npm install
npm test:watch

Build

npm run build

FAQs

Package last updated on 05 Dec 2017

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