3 Replies Latest reply on Aug 30, 2017 5:16 AM by kerrishotts

    Phonegap & Firebase Analytics


      Hi there!


      Does anyone know how to implement Firebase Analytics in Phonegap app and test it? I have a basic "Hello world" app with the plugin installed and here is the recievedEvent function:


      receivedEvent: function(id) {

      var settings = {

      developerModeEnabled: true





      window.FirebasePlugin.logEvent("select_content", {content_type: "page_view", item_id: "home"});

              var parentElement = document.getElementById(id);

              var listeningElement = parentElement.querySelector('.listening');

              var receivedElement = parentElement.querySelector('.received');



              listeningElement.setAttribute('style', 'display:none;');

              receivedElement.setAttribute('style', 'display:block;');



              console.log('Received Event: ' + id);



      Can anyone tell me what am I doing wrong? I also have to mention I build my apps with Adobe Phonegap online. So I dont have Android Studio.Is it absolutely necesarely to build it in android studio in order to enable debugger ?