Socket
Book a DemoInstallSign in
Socket

findify-analytics

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

findify-analytics

## Dependencies

2.0.14
latest
Source
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Getting started

Dependencies

sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev

or on Mac OS with Homebrew:

brew install cairo

Installation

npm install findify-analytics --save

or

yarn add findify-analytics

Alternatively, you can use UMD builds, by requiring them to the page using <script> tag:

https://findify-assets-2bveeb6u8ag.netdna-ssl.com/analytics-js/findify-analytics.1.1.2.min.js

or using unminified version:

https://findify-assets-2bveeb6u8ag.netdna-ssl.com/analytics-js/findify-analytics.1.1.2.js

Usage example

var FindifyAnalytics = require('findify-analytics');

// First, you need to initialize library:
var client = FindifyAnalytics.init({
  key: 'your_api_key',
});

// After library initialized, we can send event requests to server with `client` instance. Let's perform click-suggestion request:
client.sendEvent('click-suggestion', {
  rid: 'request_id',
  suggestion: 'Black t-shirt'
});

// Also, you can get `user` instance, which can be used further in `findify-sdk` library:
var user = client.getUser();

Documentation

  • API Reference

License

MIT

FAQs

Package last updated on 26 Sep 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

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.