Is possible to use firebase and google analytics plugins on iOS/Android and Browser platforms?

Our doubt is how it’s possible for us to use Firebase Analycts along with Google Analycts plugins, because we use the same ionic 3 app code base on iOS and Browser platforms.