Hello!
I’m trying to integrate Google Analytics into my app and I’m not getting any info appearing in my GA account. I’ve tried to use the app in the simulator and on my iPhone. I’m running simulator v2016.2948 and iOS v10.1.
So, a couple of questions.
-
Does the GA plugin work in the simulator? Specifically, does the simulator send tracking information back to GA?
-
Do I need to have the app transport security set to true in build.settings?
-
Any gotchas that I may not be aware of?
Here are the plugins I’m using in build.settings:
plugins = { ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["plugin.CoronaSplashControl"] = { publisherId = "com.coronalabs" }, ["plugin.googleAnalytics"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true } }, },
And here’s what I’m calling in main.lua:
googleAnalytics = require( "plugin.googleAnalytics" ) googleAnalytics.init( "Reading App", "UA-314XXXXX-X" )