Skip to content

Commit

Permalink
add matomo tagmanager url
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoLeist committed Nov 29, 2023
1 parent ff0262e commit 883849b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions convertPheno_client/src/code/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const security =

const matomoUrl =
process.env.NODE_ENV === "production"
? JSON.parse(window.REACT_APP_MATOMO_URL.replace(/'/g, '"'))
: JSON.parse(import.meta.env.MATOMO_TAG_MANAGER_URL);
? window.REACT_APP_MATOMO_URL
: import.meta.env.MATOMO_TAG_MANAGER_URL;

console.log("Matomo URL: ", matomoUrl);

Expand Down

0 comments on commit 883849b

Please sign in to comment.