|
|
|
@ -9,19 +9,14 @@ const getMatomoInstance = () => { |
|
|
|
urlBase: 'link.to.domain', |
|
|
|
urlBase: 'link.to.domain', |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// switch (process.env.REACT_APP_CLIENT) {
|
|
|
|
switch (process.env.REACT_APP_CLIENT) { |
|
|
|
// case 'instat':
|
|
|
|
case 'insports': |
|
|
|
// matomoInstance = {
|
|
|
|
matomoInstance = { |
|
|
|
// ...matomoInstance,
|
|
|
|
...matomoInstance, |
|
|
|
// siteId: 1,
|
|
|
|
siteId: 1, |
|
|
|
// urlBase: PAGES.matomoInstatBaseUrl,
|
|
|
|
urlBase: PAGES.matomoInstatBaseUrl, |
|
|
|
// }
|
|
|
|
} |
|
|
|
// break
|
|
|
|
break |
|
|
|
// }
|
|
|
|
|
|
|
|
matomoInstance = { |
|
|
|
|
|
|
|
...matomoInstance, |
|
|
|
|
|
|
|
siteId: 1, |
|
|
|
|
|
|
|
urlBase: PAGES.matomoInstatBaseUrl, |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return createInstance(matomoInstance) |
|
|
|
return createInstance(matomoInstance) |
|
|
|
|