Ghost/ghost/member-attribution
Rishabh 3b9998cdd6 Updated referrer attribution calculation logic
refs https://github.com/TryGhost/Team/issues/1907

- assigns top-level domain as source for external referrers that don't have known mapping
- returns `Direct` as source for new members when no referrer information is found
2022-09-21 19:32:18 +05:30
..
lib Updated referrer attribution calculation logic 2022-09-21 19:32:18 +05:30
test Updated referrer attribution calculation logic 2022-09-21 19:32:18 +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 Updated source grouping to use known referrers data 2022-09-20 19:02:06 +05:30
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