Ricardo Belchior
Aug 24, 2017 · 1 min read

right, although in that transformEvent method, you can end up having a big conditional, which is not pretty :(

if (event == share) return createFunalyticsShareEvent();else if (event == signIn) return createFunalyticsSignInEvent();// etc. for all events

but as you say, if you have the same key/events for all analytics platforms , than this is not a problem.

cheers!

)
    Ricardo Belchior

    Written by

    android developer by the sea, https://www.rbelchior.me/

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade