如何在沙箱模式下使用谷歌分析测试我的应用程序

时间:2023-02-06 15:20:11

I am integrating Google analytics to my ios app.Is there any Google Analytics testing/sandbox environment for testing my app before putting it to live system?

我正在将Google分析集成到我的ios应用程序中。是否有任何Google Analytics测试/沙盒环境用于在将应用程序投入实时系统之前对其进行测试?

1 个解决方案

#1


0  

You could enable "dryrun" and verbose logging with:

您可以使用以下命令启用“dryrun”和详细日志记录:

[[GAI sharedInstance] setDryRun:YES];
[[GAI sharedInstance].logger setLogLevel:kGAILogLevelVerbose];

Google Analytics will behave as it would normally except it will not upload any data.

Google Analytics(分析)的行为与正常情况相同,但不会上传任何数据。

Analytics dev guide has section about testing describing it in more details.

Analytics dev guide有关于测试的部分,更详细地描述了它。

#1


0  

You could enable "dryrun" and verbose logging with:

您可以使用以下命令启用“dryrun”和详细日志记录:

[[GAI sharedInstance] setDryRun:YES];
[[GAI sharedInstance].logger setLogLevel:kGAILogLevelVerbose];

Google Analytics will behave as it would normally except it will not upload any data.

Google Analytics(分析)的行为与正常情况相同,但不会上传任何数据。

Analytics dev guide has section about testing describing it in more details.

Analytics dev guide有关于测试的部分,更详细地描述了它。