gaearon/nextjs-appdir-embed-testing — explained in plain English
Analysis updated 2026-07-17 · repo last pushed 2023-02-01
Embed a third-party analytics script like Google Analytics into a Next.js 13 app directory project
Add a chat widget such as Intercom or Drift without breaking the app's rendering
Learn the correct pattern for placing custom scripts in page.tsx versus head.tsx
| gaearon/nextjs-appdir-embed-testing | 00kaku/wp-rest-playground | 1ncendium/aibuster | |
|---|---|---|---|
| Stars | 5 | 5 | 5 |
| Language | — | JavaScript | Python |
| Last pushed | 2023-02-01 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | hard | moderate |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | developer | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
A minimal example showing how to correctly embed third-party HTML and JavaScript widgets, like analytics or chat scripts, into a Next.js 13 app directory project.
Dormant — no commits in 2+ years (last push 2023-02-01).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.