update matamo

pull/4837/head
filip mertens 6 months ago
parent 5c2bc9ca72
commit c03b9cdf3a
  1. 2
      apps/remixdesktop/package.json
  2. 4
      apps/remixdesktop/src/utils/matamo.ts

@ -1,6 +1,6 @@
{
"name": "remixdesktop",
"version": "1.0.4-insiders",
"version": "1.0.5-insiders",
"main": "build/main.js",
"license": "MIT",
"type": "commonjs",

@ -1,4 +1,4 @@
import { isE2ELocal } from "../main";
import { isE2E } from "../main";
import { isPackaged } from "../main";
var MatomoTracker = require('matomo-tracker');
@ -10,7 +10,7 @@ export function trackEvent(category: string, action: string, name: string, value
console.log('error tracking request: ', err);
});
if ((process.env.NODE_ENV === 'production' || isPackaged) && !isE2ELocal) {
if ((process.env.NODE_ENV === 'production' || isPackaged) && !isE2E) {
matomo.track({
e_c: category,
e_a: action,

Loading…
Cancel
Save