Socket
Socket
Sign inDemoInstall

findify-analytics

Package Overview
Dependencies
20
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    findify-analytics

## Dependencies


Version published
Weekly downloads
55
increased by1275%
Maintainers
1
Install size
1.77 MB
Created
Weekly downloads
 

Readme

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

Last updated on 26 Sep 2017

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