Skip to content

Commit

Permalink
chore(analytics): Allow analytics to be configured per env
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmotta committed Jan 22, 2025
1 parent f474edf commit 0438aa3
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/status_im/config.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
(goog-define ALCHEMY_BASE_MAINNET_TOKEN "")
(goog-define ALCHEMY_BASE_SEPOLIA_TOKEN "")
(goog-define WALLET_CONNECT_PROJECT_ID "87815d72a81d739d2a7ce15c2cfdefb3")
(goog-define MIXPANEL_APP_ID "3350627")
(goog-define MIXPANEL_TOKEN "5c73bda2d36a9f688a5ee45641fb6775")
(goog-define MIXPANEL_APP_ID "")
(goog-define MIXPANEL_TOKEN "")

(def mainnet-rpc-url (str "https://eth-archival.rpc.grove.city/v1/" POKT_TOKEN))
(def sepolia-rpc-url (str "https://sepolia-archival.rpc.grove.city/v1/" POKT_TOKEN))
Expand All @@ -48,8 +48,19 @@
(def opensea-link "https://opensea.io")
(def opensea-tesnet-link "https://testnets.opensea.io")

;; These MixPanel values should be injected via the CI since they vary depending
;; on the environment, as we want to keep production and test/development
;; metrics separate.
;;
;; We primarily use two MixPanel projects: the production project is named
;; `status-im`, and the test project is `test.status-im`.
;;
;; During development, do not use the production app ID and token.
(def mixpanel-app-id MIXPANEL_APP_ID)
(def mixpanel-token MIXPANEL_TOKEN)
(def mixpanel-token
"MixPanel token is not supposed to be secret, but we still want to avoid
committing it to source."
MIXPANEL_TOKEN)

(def opensea-api-key OPENSEA_API_KEY)
(def status-proxy-enabled? true)
Expand Down

0 comments on commit 0438aa3

Please sign in to comment.