0.0.9 • Published 7 years ago

referral-parser v0.0.9

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

Referral Parser

####Parse a referral url into useful information

const Referral = require('referral-parser');
let refObj = new Referral('http://www.google.co.uk/?q=bbc+news');
{
  "type": "search",
  "name": "Google",
  "search": "bbc news",
  "host": "www.google.co.uk" 
}

Installation

$ npm install referral-parser

Features

  • Fast
  • Extensible

Philosophy

Two of the biggest analytics companies have their own open source data sets of referring websites. Overtime these have become quite separated and no longer aligned meaning you choose one or the other. Referral Parser combines these two sets of data, filters them and makes them available as a single list.

We can then use this dataset, feed in our referral string and get some useful information back.

License

MIT

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago