app/react/V2/Components/Analitycs/Matomo.tsx
Consider simplifying this complex logical expression. Open
Open
if (!scriptIsPresent.current) {
const script = document.createElement('script');
const hasUserMatomo = Boolean(id && url);
const hasGlobalMatomo = Boolean(globalUrl && globalId);