---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://boost.yandex.com/doc/en/analytics/content/settings/revenue.md
  - https://boost.yandex.com/doc/ru/analytics/content/settings/revenue.md
  - https://boost.yandex.com/doc/zh/analytics/content/settings/revenue.md
  - href: https://boost.yandex.com/doc/zh/analytics/content/settings/revenue.md
    type: text/markdown
    title: Markdown version
  - href: https://boost.yandex.com/doc/zh/llms.txt?revision=r21738064
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://boost.yandex.com/doc/zh/llms.txt?revision=r21738064

# Revenue

在 **设置** → **收入** 中，您可以配置购买事件和广告收入事件在报告中的显示方式，设置这些事件的回传，并启用通过应用商店跟踪购买和订阅。

## 报告中的事件 {#event-report}

在[应用内收益和广告收益](https://boost.yandex.com/doc/zh/analytics/content/mobile-reports/revenue-report.md)报告中配置事件显示：选择哪些购买事件和广告收益事件应出现在您的报告中——自动收集的和/或手动发送的。

这些设置不会删除或修改原始购买数据，只会影响报告中显示的数据。 如果您修改这些设置，用于之前期间报告的数据也会发生变化。

## 发送事件的postback {#event-postbak}

选择在回传中使用哪些购买和广告收入事件——自动收集的还是手动发送的。

如果你修改这些设置，将会影响所有之前配置的回传。

## 通过应用商店购买 {#stores}

如果应用程序通过 App Store 或 Google Play 进行了购买，请配置购买和订阅的跟踪与验证。

对于 App Store：


- 为您的应用上传 App Store Shared Secret。
- 设置来自 App Store Server Notifications 的通知。


对于 Google Play：

- 将 Google Play 许可公钥添加以验证购买。 [了解有关公钥的更多信息](https://support.google.com/googleplay/android-developer/answer/186113?hl=zh).


- 在AppMetrica中创建并上传服务账户的JSON文件，以跟踪和验证自动续订订阅。


<!-- source: zh/analytics/content/_includes/feedback-button.md -->
如果您没有找到所需答案，可以通过反馈表单提交您的问题。 请尽可能详细地描述问题。 如果可能，请附上截图。

<a href="../troubleshooting/feedback-new">
  <span class="button">联系支持</span>
</a>

<a href="../troubleshooting/feedback-docs">
  <span class="button">为文档提出改进建议</span>
</a>
<!-- endsource: zh/analytics/content/_includes/feedback-button.md -->
