Is it possible to manually track exceptions using Firebase GA4 Analytics?
I have been checking few documents that refers to two different events:
So... what should I do? Are both ways correct?
analytics.logEvent("exception", {
description: error.message ?? "Unexpected error.",
fatal: false,
});
VS
analytics.logEvent("app_exception", {
description: error.message ?? "Unexpected error.",
fatal: false,
});