使用 iOS 设备端转化衡量解决方案
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
实施长效的效果衡量策略对于了解营销工作的影响和优化投资至关重要。Google 的设备端转化衡量功能有助于提高可观测到的转化量,从而以可保护隐私的方式改善 iOS 应用广告系列的优化和报告。
在这些教程中,您将了解这些解决方案的运作方式,并按照实现这些解决方案所需的步骤操作。
如何使用此功能?
设备端转化衡量功能可协助您衡量 iOS 应用广告系列促成的应用安装和应用内操作,同时还能确保用户数据的私密性。此解决方案有两种变体:使用第一方数据和使用去标识化的临时应用事件数据。
如需详细了解设备端转化衡量功能可保护隐私的优势,请参阅 Google Ads 帮助中心文章。
我的团队将如何实施?
设备端衡量适用于搭载 iOS 12 及更高版本的设备。此解决方案的每种变体都有特定的实现要求。若要采用任一实施方式,您需要验证应用的 build 是否包含 GoogleAdsOnDeviceConversion
库:
对于第一方数据,您需要有在征得用户同意的情况下提供的电子邮件地址或电话号码。Google Analytics for Firebase SDK 会通过该 API 使用电子邮件地址或电话号码进行归因,以确保这些个人数据绝不会以可识别用户或设备的方式发送到设备之外。
您可以使用 Firebase Authentication 允许用户通过一种或多种登录方式登录您的应用。与 Firebase Authentication 集成后,您可以获取已登录用户的电子邮件地址或电话号码,以启动设备端转化衡量。
对于事件数据,请验证您的应用中是否配置了最新版本的 Google Analytics for Firebase SDK,并确认是否已记录所有所选的自定义事件(如果适用)。这些关键事件应与您希望衡量 iOS 广告系列的最重要的操作或转化保持一致。
我可以同时使用这两种方法吗?
当然!这些方法并不相互排斥。对于投放 iOS 应用广告系列的广告客户,我们建议结合使用这两种实施方式,以最大限度地发挥效果和报告优势。
将这两种方法结合使用,可提供更全面的效果衡量方法,同时尊重用户隐私。
后续步骤
请按照分步教程操作:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["Implementing durable measurement strategies is crucial for understanding the\nimpact of your marketing efforts and optimizing your investments. Google's\non-device conversion measurement improves the amount of observable conversions\nto enhance campaign optimization and reporting for your iOS App campaigns in a\nprivacy-preserving manner.\n\nIn these tutorials, you'll learn how these solutions work and follow along with the steps needed to implement them.\n\nHow does this work?\n\nOn-device conversion measurement helps measure app installs and in-app actions\nfrom your iOS App campaigns while keeping user data private. There are two\nvariants of this solution: using first-party data and using de-identified,\ntemporary app event data.\n\nTo learn more about the privacy-preserving benefits of on-device conversion\nmeasurement, view the [Google Ads Help Center article](https://support.google.com/google-ads/answer/12119136).\n\nHow will my team implement it?\n\nOn-device measurement works on devices running iOS 12+. Each variant of this\nsolution has specific implementation requirements. In order to activate each,\nyou will need to verify your app's build includes the\n`GoogleAdsOnDeviceConversion` library:\n\n- For **first-party data**, you need a consented, user-provided email address or\n phone number. Through the API, the email address or phone number is used by the\n Google Analytics for Firebase SDK for attribution such that this personal data\n is never sent off the device in a way that can identify the user or device.\n\n You can use Firebase Authentication to allow users to sign in to your app\n using one or more sign-in methods. Once integrated with Firebase\n Authentication, you can get the signed-in user's email or phone number to\n initiate on-device conversion measurement.\n- For **event data** , verify that the latest version of the\n Google Analytics for Firebase SDK is configured in your app, and if\n applicable, that any selected custom events are logged. These\n [key events](https://support.google.com/analytics/answer/9267568) should\n align with the most important actions or conversions you want to measure for\n your iOS campaigns.\n\nCan I use both techniques?\n\nAbsolutely! These approaches are not mutually exclusive. For advertisers running\niOS app campaigns, we recommend implementing both variants of this solution to\nmaximize performance and reporting benefits.\n\nCombining both methods provides a more comprehensive approach to measurement\nwhile respecting user privacy.\n\nWhat's next?\n\nFollow along in the step-by-step tutorials:\n\n- On-device conversion measurement [using first-party data](/docs/tutorials/ads-ios-on-device-measurement/index-first-party)\n- On-device conversion measurement [using event data](/docs/tutorials/ads-ios-on-device-measurement-event-data/index-event-driven)"]]