Ghost/ghost/link-tracking
Fabien 'egg' O'Carroll bddb0ba754
Wired up link redirects & tracking (#15418)
refs https://github.com/TryGhost/Team/issues/1910
refs https://github.com/TryGhost/Team/issues/1888

- Uses an in-memory repository for now whilst in development
- Updates the LinkReplacementService to choose the slug
- Exposes a `getSlug` method so we can ensure uniqueness
- Emits the RedirectEvent for use by LinkTracking
2022-09-16 10:42:21 +02:00
..
lib Wired up link redirects & tracking (#15418) 2022-09-16 10:42:21 +02:00
test Added initial link-tracking package 2022-09-14 13:24:17 -04:00
.eslintrc.js Added initial link-tracking package 2022-09-14 13:24:17 -04:00
index.js Added initial link-tracking package 2022-09-14 13:24:17 -04:00
package.json Wired up link redirects & tracking (#15418) 2022-09-16 10:42:21 +02:00
README.md Added initial link-tracking package 2022-09-14 13:24:17 -04:00

Link Tracking

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