|
|
||
|---|---|---|
| .. | ||
| inject-amplitude.js | ||
| inject-app-deeplinks.sh | ||
| inject-bugsnag.js | ||
| inject-intercom.js | ||
| inject-smartbanner.js | ||
| inject-statuspage.js | ||
| README.md | ||
| update-ipns.js | ||
| upload-ipfs.js | ||
App Integrations
Amplitude
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-amplitudeafter your pnpm build / vite build command.
Bugsnag
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-bugsnagafter 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
StatusPage
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-statuspageafter 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
Intercom
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-intercomafter 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
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_NAMEfor app nameSMARTBANNER_ORG_NAMEfor organization nameSMARTBANNER_ICON_URLfor icon imageSMARTBANNER_APPSTORE_URLfor iOS App Store linkSMARTBANNER_GOOGLEPLAY_URLfor Android Google Play link - In your deploy scripts add
pnpm run build:inject-smartbannerafter 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