Google analytics iOS广告系列跟踪开发测试 [英] Google analytics iOS campaign tracking testing on development
问题描述
我正在尝试将Google Analytics(分析)iOS广告系列跟踪功能用于我的iOS应用,但是在将我的应用上传到AppStore之前,我想知道这些功能是否正常工作......
我想在下面的函数中放置一个断点:$ b
$ b
application:(UIApplication *)application openURL :( NSURL *)url
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
并看看我是否得到正确的广告系列名称,看看它是否正确地上传到谷歌分析... ...
但我找不到任何关于开发测试。 。
有什么想法?
调试模式: https://developers.google.com/analytics/ devguides / collection / ios / v2 / advanced#testing
然后只需访问a pp通过其中一个跟踪的广告系列查看数据是否被正确记录。
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?
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.
这篇关于Google analytics iOS广告系列跟踪开发测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!