Skip to content

Remove ConfigCat and Amplitude integrations - #195

Merged
carsonfarmer merged 3 commits into
mainfrom
remove-configcat
Jan 28, 2026
Merged

Remove ConfigCat and Amplitude integrations#195
carsonfarmer merged 3 commits into
mainfrom
remove-configcat

Conversation

@carsonfarmer

Copy link
Copy Markdown
Member
  • Remove configcat-js-ssr and @amplitude/analytics-node dependencies
  • Delete A/B testing infrastructure (variants, content, configcat client)
  • Hardcode variant A content directly in Hero and Features components
  • Remove middleware (was only for user tracking)
  • Remove amplitude events API route
  • Simplify EventLink to use only Vercel Analytics

Amp-Thread-ID: https://ampcode.com/threads/T-019c00e7-1e04-742b-aded-3416acb020cd

- Remove configcat-js-ssr and @amplitude/analytics-node dependencies
- Delete A/B testing infrastructure (variants, content, configcat client)
- Hardcode variant A content directly in Hero and Features components
- Remove middleware (was only for user tracking)
- Remove amplitude events API route
- Simplify EventLink to use only Vercel Analytics

Amp-Thread-ID: https://ampcode.com/threads/T-019c00e7-1e04-742b-aded-3416acb020cd
Co-authored-by: Amp <amp@ampcode.com>
- actions/checkout v2 -> v4
- actions/setup-node v1 -> v4 with built-in caching
- actions/cache v1 removed (now handled by setup-node)
- Node 16 -> 20

Amp-Thread-ID: https://ampcode.com/threads/T-019c00e7-1e04-742b-aded-3416acb020cd
Co-authored-by: Amp <amp@ampcode.com>
dtbuchholz
dtbuchholz previously approved these changes Jan 27, 2026

@dtbuchholz dtbuchholz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why the vercel deployment is failing...but i can't log in to verify. maybe it's fine?

i ran the site locally, and it worked fine.

@joewagner

joewagner commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

Vercel build fails because our version of node is too old.
@carsonfarmer @dtb I sent invites to you both for the Vercel org

@carsonfarmer

carsonfarmer commented Jan 27, 2026

Copy link
Copy Markdown
Member Author

Ok, I updated the "suggested" node version in package.json, and then actually updated in our vercel deployment settings. Build looks good, you can checkout the preview deployment now. Once this is merged, we can delete config-cat and amplitude accounts.

@carsonfarmer carsonfarmer self-assigned this Jan 28, 2026
@carsonfarmer carsonfarmer added the dependencies Pull requests that update a dependency file label Jan 28, 2026

@joewagner joewagner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Only nit would be to update to node 22 instead of 20, so we don't have to update again when 20 times out, but I'd say merge it.

@carsonfarmer
carsonfarmer merged commit 59d29ca into main Jan 28, 2026
2 checks passed
@carsonfarmer
carsonfarmer deleted the remove-configcat branch January 28, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants