Ghost/ghost/link-replacer
Simon Backx 8dfa490638
Added outbound link tagging for web posts (#16201)
fixes https://github.com/TryGhost/Team/issues/2433

- Moved all outbound link tagging code to separate OutboundLinkTagger
- Because a site can easily enable/disable this feature, we don't store
the ?refs in the HTML but add them on the fly for now in the Content
API.
2023-02-16 11:26:35 +01:00
..
lib Added outbound link tagging for web posts (#16201) 2023-02-16 11:26:35 +01:00
test Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00
.eslintrc.js Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00
index.js Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00
package.json Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
README.md Added database storage for link redirects and click events (#15423) 2022-09-19 17:12:54 +02:00

Link Replacement

Replace links in a HTML string to add attribution and 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