1
|
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
|
"rda":90,
|
14
|
"aginfra":93,
|
15
|
"clarin":100,
|
16
|
"dariah":103,
|
17
|
"epos": 217,
|
18
|
"beopen": 218,
|
19
|
"risis":219,
|
20
|
"science-innovation-policy":253,
|
21
|
"covid-19":267,
|
22
|
"rural-digital-europe":319,
|
23
|
"enermaps":318
|
24
|
};
|
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
|
"dariah":'',
|
40
|
"epos": null,
|
41
|
"beopen" :null,
|
42
|
"risis":null,
|
43
|
"science-innovation-policy":null,
|
44
|
"covid-19":null,
|
45
|
"rural-digital-europe":null,
|
46
|
"enermaps":null
|
47
|
};
|
48
|
public static getSiteId(communityId:string, environment:string){
|
49
|
// if(environment == 'production'){
|
50
|
// return this.siteIDsProduction[communityId];
|
51
|
// }
|
52
|
return this.siteIDs[communityId];
|
53
|
}
|
54
|
|
55
|
}
|