Skip to content

Commit

Permalink
[DDW-1125] Final analytics config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Mazurek committed Aug 22, 2022
1 parent 24254f4 commit eef8073
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions source/renderer/app/config/analyticsConfig.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
import { Network } from '../../../common/types/environment.types';

export const ANALYTICS_API_ENDPOINT =
'https://daedalusqa2.matomo.cloud/matomo.php';
export const ANALYTICS_API_ENDPOINT = 'https://matomo.cw.iog.io/matomo.php';
export const PRIVACY_POLICY_LINK =
'https://static.iohk.io/terms/iog-privacy-policy.pdf';
export const DEV_MODE_SITE_MAP_ID = 1;

// ID used when Daedalus is launched from nix-shell
export const DEV_MODE_SITE_MAP_ID = 11;

// IDs used when Daedalus is launched as a binary (installed with installer)
export const NETWORK_TO_ANALYTICS_SITE_ID_MAP: Record<Network, number> = {
mainnet: 4,
mainnet_flight: 4,
mainnet: 2,
mainnet_flight: 12,
testnet: 3,
preprod: 3,
preview: 3,
staging: 5,
shelley_qa: 5,
alonzo_purple: 5,
selfnode: 5,
development: 5,
vasil_dev: 5,
preprod: 9,
preview: 10,
staging: 4,
shelley_qa: 6,
alonzo_purple: 7,
selfnode: 11,
development: 11,
vasil_dev: 8,
};

export const CPU_DIMENSION_KEY = 'dimension2';
export const RAM_DIMENSION_KEY = 'dimension3';
export const OS_DIMENSION_KEY = 'dimension4';
export const VERSION_DIMENSION_KEY = 'dimension5';
export const CPU_DIMENSION_KEY = 'dimension1';
export const RAM_DIMENSION_KEY = 'dimension2';
export const OS_DIMENSION_KEY = 'dimension3';
export const VERSION_DIMENSION_KEY = 'dimension4';

0 comments on commit eef8073

Please sign in to comment.