GoogleAnalytics not working in iOS

Hi,

I start using Google Analtics this week, but it’s not sending data to my GA dashboard? 

I have other plugins in my app like OneSignal, and somewhere I read a several months ago post that a there were some conflicts between ga plugin and other plugins. Do you know if I need to do something else to get this working?

my build.settings look like this:

 plugins =

      {

            [“plugin.googleAnalytics”] =

            {

              publisherId = “com.coronalabs”,

              supportedPlatforms = { iphone=true, android=true, }

            },

            [“plugin.OneSignal”] =

            {

                publisherId = “com.onesignal”,

            },

            [“plugin.google.play.services”] =

            {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { iphone=true, android=true, [“android-kindle”]=true }

            },

            [“CoronaProvider.gameNetwork.apple”] =

            {

                  publisherId = “com.coronalabs”,

                  supportedPlatforms = { iphone=true, [“iphone-sim”]=true },

            },   

            [“plugin.facebook.v4”] =

            {

              publisherId = “com.coronalabs”

            },            

            [“CoronaProvider.ads.iads”] =

            {

                publisherId = “com.coronalabs”,

                supportedPlatforms = { iphone=true }

            },

            [“plugin.google.iap.v3”] =

            {

                publisherId = “com.coronalabs”,

                supportedPlatforms = { android=true }

            },

      },    

This should work fine, I believe it is just flurry. Make sure your app name and tracking id are correct. If the plugin really does not work with all the plugins above you can always just use the rest api which I personally fine better than coronas plugin because it works on Mac and Windows but that is just me. https://bitbucket.org/Jonjonsson/google-analytics-for-corona-sdk/

I believe the conflict between AdMob and GA is an Android only issue. As a test you could get the GA sample app from https://github.com/coronalabs

And add your app information and make sure it’s working for you.

Rob

Thanks both of you. I’m going to try your suggestions. Regarding the conflict between AdMob and GA in Android. Is there any workaround?

Not at this time. We have to get plugin versioning finished and fix it so that plugins can have different dependencies… which we are working on.

Rob

You could try the rest api, I use in my app and works identical to the one corona uses and will work as long as network APIs work. You may have to ats for iOS but that is about it

This should work fine, I believe it is just flurry. Make sure your app name and tracking id are correct. If the plugin really does not work with all the plugins above you can always just use the rest api which I personally fine better than coronas plugin because it works on Mac and Windows but that is just me. https://bitbucket.org/Jonjonsson/google-analytics-for-corona-sdk/

I believe the conflict between AdMob and GA is an Android only issue. As a test you could get the GA sample app from https://github.com/coronalabs

And add your app information and make sure it’s working for you.

Rob

Thanks both of you. I’m going to try your suggestions. Regarding the conflict between AdMob and GA in Android. Is there any workaround?

Not at this time. We have to get plugin versioning finished and fix it so that plugins can have different dependencies… which we are working on.

Rob

You could try the rest api, I use in my app and works identical to the one corona uses and will work as long as network APIs work. You may have to ats for iOS but that is about it