From c2469cb2cb4e7e1d1c9124c4849ba798f55c346c Mon Sep 17 00:00:00 2001 From: feruz Date: Wed, 21 Oct 2020 19:53:58 +0300 Subject: [PATCH] disable unique id generation --- src/screens/application/container/applicationContainer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/screens/application/container/applicationContainer.js b/src/screens/application/container/applicationContainer.js index efec452b0..de318fa63 100644 --- a/src/screens/application/container/applicationContainer.js +++ b/src/screens/application/container/applicationContainer.js @@ -166,14 +166,14 @@ class ApplicationContainer extends Component { ); // tracking init - /*Matomo.initialize(Config.ANALYTICS_URL, 1, 'https://ecency.com') + Matomo.initialize(Config.ANALYTICS_URL, 1, 'https://ecency.com') .catch((error) => console.warn('Failed to initialize matomo', error)) .then(() => { if (isAnalytics !== true) { dispatch(setAnalyticsStatus(true)); } }) - .then(() => { + /*.then(() => { uniqueId() .then(async (id) => { await Matomo.setUserId(id).catch((error) => @@ -181,13 +181,13 @@ class ApplicationContainer extends Component { ); }) .catch((error) => console.error(error)); - }) + })*/ .then(() => { // start up event Matomo.trackEvent('Application', 'Startup').catch((error) => console.warn('Failed to track event', error), ); - });*/ + }); }; componentDidUpdate(prevProps, prevState) {