DavidWells / DavidWells/analytics

Add nextjs pages router demo

Open
#473 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-generated claude-code
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.