Ghost/ghost/member-attribution
Rishabh c765c3230e Updated attribution service to handle referrer information
refs TryGhost/Team#1907

- calculates final attribution source and medium using captured referrer information in history
- adds new referrer-translator that goes through available history and based to determine most valid referrer info
- includes referrer url, source and medium in the attribution data for storage
2022-09-19 12:29:22 +05:30
..
lib Updated attribution service to handle referrer information 2022-09-19 12:29:22 +05:30
test Updated attribution service to handle referrer information 2022-09-19 12:29:22 +05:30
.eslintrc.js Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
index.js Updated attribution service to handle referrer information 2022-09-19 12:29:22 +05:30
package.json Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00
README.md Added member attribution events and storage (#15243) 2022-08-18 17:38:42 +02:00

Member Attribution

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests