-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: optionally disable Vercel's insights and analytics (#1362)
* feat: optionally disable vercel insights and analytics * Update .changeset/flat-tables-hang.md Co-authored-by: Chancellor Clark <chancellor.clark@bigcommerce.com> --------- Co-authored-by: Chancellor Clark <chancellor.clark@bigcommerce.com>
- Loading branch information
1 parent
6d7c508
commit 0814afe
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@bigcommerce/catalyst-core": minor | ||
--- | ||
If app is not running on Vercel's infra, `<Analytics />` and `<SpeedInsights />` are not rendered. | ||
|
||
Opt-out of vercel analytics and speed insights by setting the following env vars to `true` | ||
|
||
- `DISABLE_VERCEL_ANALYTICS` | ||
- `DISABLE_VERCEL_SPEED_INSIGHTS` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters