Analytics service used to collect data to help the dYdX Product team make informed product decisions.
To use with dydxprotocol/v4-web:
- Amplitude account with API key.
- Add API key in Github > Secrets and Variables > Actions as
AMPLITUDE_API_KEY
- In your deploy scripts add
pnpm run build:inject-amplitude
after your pnpm build / vite build command.
Error handling service used to collect handled/unhandled errors within the app. The information collected is used to help debug and alert the engineering team of crashes/unhandled errors within the app to improve stability.
To use with dydxprotocol/v4-web:
- Bugsnag account with API key.
- Add API key in Github > Secrets and Variables > Actions as
BUGSNAG_API_KEY
- In your deploy scripts add
pnpm run build:inject-bugsnag
after your pnpm build / vite build command. - If you are using with the Amplitude deployment scripts, your build command may look like the following:
pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-bugsnag
Service used to inform users of any status updates to our platform. These status updates are manually set and updated by the On Call engineers.
To use with dydxprotocol/v4-web:
- StatusPage account and script URI
- Add API key in Github > Secrets and Variables > Actions as
STATUS_PAGE_SCRIPT_URI
- In your deploy scripts add
pnpm run build:inject-statuspage
after your pnpm build / vite build command. - If you are using with the Amplitude deployment scripts, your build command may look like the following:
pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-statuspage
Service used for live customer support (chat/inbox) as well as home for Help Articles.
To use with dydxprotocol/v4-web:
- Create Intercom account
- In Intercom UI Getting started > Set up Messenger > will give you your API Key on Step 2 Customize Intercom Messenger by adding logo and brand colors
- Add API key in Github > Secrets and Variables > Actions as
INTERCOM_APP_ID
- In your deploy scripts add
pnpm run build:inject-intercom
after your pnpm build / vite build command. - If you are using with the Amplitude deployment scripts, your build command may look like the following:
pnpm build && pnpm run build:inject-amplitude && pnpm run build:inject-intercom
Smartbanner to show download links to iOS and/or Android native apps on mobile devices.
To use with dydxprotocol/v4-web:
- iOS app App Store link or Android app Google Play link.
- Add configurations in Github > Secrets and Variables > Actions as
SMARTBANNER_APP_NAME
for app nameSMARTBANNER_ORG_NAME
for organization nameSMARTBANNER_ICON_URL
for icon imageSMARTBANNER_APPSTORE_URL
for iOS App Store linkSMARTBANNER_GOOGLEPLAY_URL
for Android Google Play link - In your deploy scripts add
pnpm run build:inject-smartbanner
after your pnpm build / vite build command. - If you are using with the Amplitude deployment scripts, your build command may look like the following:
pnpm build && pnpm run build:inject-smartbanner