DavidWells / DavidWells/analytics
Add nextjs pages router demo
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 267
- PR merge metrics
- No merged PRs in 30d
Description
We need an example of next.js using the older pages router
Can you make it similar to https://github.com/DavidWells/analytics/tree/master/examples/nextjs-app-router but using the pages router instead?
Keep the code JS, do not convert to TS. Also don't use semi-colons.
Next.js is on v15.3.4 https://www.npmjs.com/package/next
Thanks @claude
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 reviewing examples/nextjs-app-router and use it as the reference for the new pages-router example. Keep the new example in JavaScript without semicolons, target Next.js 15.3.4, and consider it done when it demonstrates the same analytics integration through the older pages router.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nextjs
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100