DavidWells / DavidWells/analytics
Support for new Amplitude Typescript SDK
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
Amplitude has deprecated their previous JavaScript SDK (which the existing plugin integrates). They now recommend using the new TypeScript Browser SDK.
How can we go about adding support for the newest SDK? Would something like customScriptSrc suffice for this or should the plugin be updated?
Note that Amplitude provides a migration guide for this transition. However, the new version isn't backwards compatible with amplitude-js.
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 with the linked TypeScript Browser SDK documentation and migration guide, then inspect the existing Amplitude plugin and its customScriptSrc option. Determine whether the plugin needs updating or can support the new SDK without the old amplitude-js API; done means the recommended SDK is supported and its migration behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- analytics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100