DavidWells / DavidWells/analytics
feature request: Add analytics.trackLink helper method to segment-plugin
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
I would like to use analytics.trackLink helper method that segment (analytics.js 2.0) supports. The method is described here:
https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/#track-link
It is possible to implement? I can try to work on this!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the segment-plugin entry point and reviewing the linked Segment analytics.js 2.0 track-link documentation. Confirm the helper's expected API and add coverage for the new behavior; done means segment-plugin exposes analytics.trackLink consistently with that documented interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- analytics
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100