Link to minimal reproducible example
See "Steps to Reproduce"
Steps to Reproduce
- Upgrade to
@reown/appkit and @reown/appkit-adapter-wagmi version 1.8.7 or higher
- Configure AppKit with:
createAppKit({
// ... other config
enableCoinbase: false,
features: {
analytics: false,
// ... other features
},
});
- Open browser DevTools Network tab
- Load the application
- Observe 2-3 duplicate HEAD requests being sent despite
analytics: false
- Observe Coinbase analytics requests being sent despite
enableCoinbase: false
Analytics and enableCoinbase options not working in 1.8.7+ - duplicate HEAD requests sent
Description
In version 1.7.20, setting analytics: false successfully prevented Reown AppKit from sending analytics HEAD requests. However, after upgrading to version 1.8.7+, the library now sends 2-3 duplicate HEAD requests even when analytics: false is explicitly set. This is particularly problematic for Next.js applications, which interpret these HEAD requests as prefetch requests.
Similarly, enableCoinbase: false appears to have no effect in version 1.8.7+, with Coinbase still making analytics requests despite the option being disabled.
Expected Behavior
- When
features.analytics is set to false, no analytics HEAD requests should be sent
- When
enableCoinbase is set to false, no Coinbase Wallet SDK requests should be made
Actual Behavior
- Even with
analytics: false, 2-3 duplicate HEAD requests are being sent
- Next.js intercepts these HEAD requests and treats them as prefetch, causing unnecessary network traffic
enableCoinbase: false does not prevent Coinbase Wallet SDK requests (e.g., https://cca-lite.coinbase.com/metrics)
Environment
- @reown/appkit version: 1.8.7+ (regression introduced compared to 1.7.20)
- @reown/appkit-adapter-wagmi version: 1.8.7+
- Framework: Next.js 16.0.0
- React version: 19.2.0
- Browser: Any (tested on Chrome, Firefox, Safari)
Workaround
Currently downgrading to version 1.7.20 is the only known workaround, but this prevents users from benefiting from newer features and bug fixes.
Additional Context
- This issue was not present in version 1.7.20
- The regression appears to have been introduced in some 1.8.* version
Summary
In version 1.7.20, setting analytics: false successfully prevented Reown AppKit from sending analytics HEAD requests. However, after upgrading to version 1.8.7+, the library now sends 2-3 duplicate HEAD requests even when analytics: false is explicitly set. This is particularly problematic for Next.js applications, which interpret these HEAD requests as prefetch requests.
Similarly, enableCoinbase: false appears to have no effect in version 1.8.7+, with Coinbase still making analytics requests despite the option being disabled.
List of related npm package versions
@reown/appkit
@reown/appkit-adapter-wagmi
Node.js Version
v22.17.0
Package Manager
npm@11.6.2
Link to minimal reproducible example
See "Steps to Reproduce"
Steps to Reproduce
@reown/appkitand@reown/appkit-adapter-wagmiversion 1.8.7 or higheranalytics: falseenableCoinbase: falseAnalytics and enableCoinbase options not working in 1.8.7+ - duplicate HEAD requests sent
Description
In version 1.7.20, setting
analytics: falsesuccessfully prevented Reown AppKit from sending analytics HEAD requests. However, after upgrading to version 1.8.7+, the library now sends 2-3 duplicate HEAD requests even whenanalytics: falseis explicitly set. This is particularly problematic for Next.js applications, which interpret these HEAD requests as prefetch requests.Similarly,
enableCoinbase: falseappears to have no effect in version 1.8.7+, with Coinbase still making analytics requests despite the option being disabled.Expected Behavior
features.analyticsis set tofalse, no analytics HEAD requests should be sentenableCoinbaseis set tofalse, no Coinbase Wallet SDK requests should be madeActual Behavior
analytics: false, 2-3 duplicate HEAD requests are being sentenableCoinbase: falsedoes not prevent Coinbase Wallet SDK requests (e.g.,https://cca-lite.coinbase.com/metrics)Environment
Workaround
Currently downgrading to version 1.7.20 is the only known workaround, but this prevents users from benefiting from newer features and bug fixes.
Additional Context
Summary
In version 1.7.20, setting analytics: false successfully prevented Reown AppKit from sending analytics HEAD requests. However, after upgrading to version 1.8.7+, the library now sends 2-3 duplicate HEAD requests even when analytics: false is explicitly set. This is particularly problematic for Next.js applications, which interpret these HEAD requests as prefetch requests.
Similarly, enableCoinbase: false appears to have no effect in version 1.8.7+, with Coinbase still making analytics requests despite the option being disabled.
List of related npm package versions
@reown/appkit
@reown/appkit-adapter-wagmi
Node.js Version
v22.17.0
Package Manager
npm@11.6.2