1 |
51749
|
argiro.kok
|
export class PiwikHelper{
|
2 |
|
|
public static siteIDs={
|
3 |
|
|
"connect": 80,
|
4 |
|
|
"dh-ch":81,
|
5 |
|
|
"ee":82,
|
6 |
|
|
"egi":83,
|
7 |
|
|
"elixir-gr":84,
|
8 |
|
|
"fam":85,
|
9 |
|
|
"instruct":86,
|
10 |
|
|
"mes":87,
|
11 |
|
|
"ni":88,
|
12 |
|
|
"oa-pg":89,
|
13 |
51913
|
argiro.kok
|
"rda":90,
|
14 |
52386
|
argiro.kok
|
"aginfra":93,
|
15 |
52658
|
argiro.kok
|
"clarin":100,
|
16 |
57604
|
argiro.kok
|
"dariah":103,
|
17 |
|
|
"epos": 217,
|
18 |
58392
|
argiro.kok
|
"beopen": 218,
|
19 |
59189
|
konstantin
|
"risis":219,
|
20 |
|
|
"science-innovation-policy":253,
|
21 |
|
|
"covid-19":267,
|
22 |
59305
|
konstantin
|
"rural-digital-europe":319,
|
23 |
|
|
"enermaps":318
|
24 |
56822
|
argiro.kok
|
};
|
25 |
|
|
public static siteIDsProduction={
|
26 |
|
|
"connect": 112,
|
27 |
|
|
"dh-ch":198,
|
28 |
|
|
"ee":200,
|
29 |
|
|
"egi":'',
|
30 |
|
|
"elixir-gr":'',
|
31 |
|
|
"fam":197,
|
32 |
|
|
"instruct":'',
|
33 |
|
|
"mes":196,
|
34 |
|
|
"ni":199,
|
35 |
|
|
"oa-pg":'',
|
36 |
|
|
"rda":'',
|
37 |
|
|
"aginfra":'',
|
38 |
|
|
"clarin":'',
|
39 |
57604
|
argiro.kok
|
"dariah":'',
|
40 |
|
|
"epos": null,
|
41 |
58392
|
argiro.kok
|
"beopen" :null,
|
42 |
59189
|
konstantin
|
"risis":null,
|
43 |
|
|
"science-innovation-policy":null,
|
44 |
|
|
"covid-19":null,
|
45 |
59305
|
konstantin
|
"rural-digital-europe":null,
|
46 |
|
|
"enermaps":null
|
47 |
56822
|
argiro.kok
|
};
|
48 |
|
|
public static getSiteId(communityId:string, environment:string){
|
49 |
59189
|
konstantin
|
// if(environment == 'production'){
|
50 |
|
|
// return this.siteIDsProduction[communityId];
|
51 |
|
|
// }
|
52 |
56822
|
argiro.kok
|
return this.siteIDs[communityId];
|
53 |
51749
|
argiro.kok
|
}
|
54 |
52386
|
argiro.kok
|
|
55 |
51749
|
argiro.kok
|
}
|