Revision 51194
Added by Myrto Koukouli about 6 years ago
metrics-enable.component.ts | ||
---|---|---|
20 | 20 |
errorMessage: string; |
21 | 21 |
loadingMessage: string; |
22 | 22 |
|
23 |
readonly analyticsUrl = 'https://analytics.openaire.eu/addsite.php?'; |
|
24 |
readonly authenticationToken = "32846584f571be9b57488bf4088f30ea"; /* THE ACTUAL TOKEN WILL BE NEEDED EVENTUALLY!! */ |
|
23 | 25 |
repo: Repository; |
24 | 26 |
oaId: string; |
25 | 27 |
|
... | ... | |
86 | 88 |
openaireId: this.oaId, |
87 | 89 |
repositoryName: this.repo.officialName, |
88 | 90 |
country: this.repo.countryName, |
89 |
siteId: '',
|
|
90 |
authenticationToken: '',
|
|
91 |
siteId: `${this.analyticsUrl}siteName=${this.repo.officialName}&url=${this.repo.websiteUrl}`,
|
|
92 |
authenticationToken: this.authenticationToken,
|
|
91 | 93 |
creationDate: null, |
92 | 94 |
requestorName: this.authService.userFullName, |
93 | 95 |
requestorEmail: this.authService.userEmail, |
Also available in: Unified diff
almost finished login