Google analytics iOS campaign tracking testing on development

一笑奈何 提交于 2019-12-05 21:22:26

问题


I'm trying to use Google analytics iOS campaign tracking for my iOS app, but before uploading my app to the Appstore I would like to know if things are working properly...

I would like to put a breakpoint at the following function

application:(UIApplication *)application openURL:(NSURL *)url
  sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

and see if I get the correct campaign name and see if it uploads correctly to google analytics...

But I couldn't find anything about testing it on development...

Any ideas?


回答1:


You could try running GA in debug mode: https://developers.google.com/analytics/devguides/collection/ios/v2/advanced#testing

Then just access the app through one of your tracked campaigns and see if the data is recorded correctly.



来源:https://stackoverflow.com/questions/28428224/google-analytics-ios-campaign-tracking-testing-on-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!