feed visit corrections

This commit is contained in:
feruz 2020-12-09 15:10:29 +02:00
parent 2ac0b5f342
commit 676c3f0998

View File

@ -255,6 +255,10 @@ const PostsContainer = ({
Matomo.trackView([`/${selectedFilterValue}/${tag}`]).catch((error) =>
console.warn('Failed to track screen', error),
);
} else if (selectedFilterValue === 'feed') {
Matomo.trackView([`/${feedUsername}/${selectedFilterValue}`]).catch((error) =>
console.warn('Failed to track screen', error),
);
} else {
Matomo.trackView([`/${selectedFilterValue}`]).catch((error) =>
console.warn('Failed to track screen', error),