Ghost/ghost/member-attribution/index.js
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

7 lines
245 B
JavaScript

module.exports = {
MemberAttributionService: require('./lib/service'),
AttributionBuilder: require('./lib/attribution'),
UrlTranslator: require('./lib/url-translator'),
ReferrerTranslator: require('./lib/referrer-translator')
};