Vercel Analytics (Recommended)
Vercel Analytics is the recommended and default analytics solution in Enterprise Commerce. It offers several key advantages:- Privacy-friendly: Vercel Analytics respects user privacy and does not collect personally identifiable information (PII).
- Real-time insights: Get instant visibility into your website’s traffic and user behavior with real-time data updates.
- Minimal performance impact: Unlike other analytics solutions, Vercel Analytics has negligible impact on your website’s performance, ensuring optimal speed and user experience.
IS_VERCEL_ANALYTICS_ENABLED
to true
or false
in your .env
file:
.env
Google Analytics
Enterprise Commerce also supports Google Analytics integration through the official Next.js module. While it is disabled by default, you can easily enable it by setting the feature flagIS_GTM_ENABLED
in your .env
file:
.env