Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamarcke committed Mar 19, 2024
1 parent 710ad3d commit 965cb32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/general/MatomoTracker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ const MatomoTracker = () => {

useEffect(() => {
console.log("Checking if Matomo should be initialized");
console.log(
`Conditional: ${!IS_DEV_ENV && MATOMO_URL && MATOMO_SITE_ID}`,
);
if (!IS_DEV_ENV && MATOMO_URL && MATOMO_SITE_ID) {
console.log(
`Matomo initialized! URL: ${MATOMO_URL} | SiteID: ${MATOMO_SITE_ID}`,
Expand Down

0 comments on commit 965cb32

Please sign in to comment.