Hướng dẫn: Sử dụng dữ liệu của bên thứ nhất để đo lường lượt chuyển đổi trên Google Ads từ chiến dịch quảng cáo ứng dụng iOS
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Hướng dẫn giải pháp
Tính năng đo lường lượt chuyển đổi trên thiết bị của Google giúp tăng số lượt chuyển đổi có thể ghi nhận được từ chiến dịch Quảng cáo ứng dụng iOS, trong khi vẫn đảm bảo sự riêng tư cho dữ liệu cá nhân của người dùng. Trong hướng dẫn này, bạn sẽ tìm hiểu cách hoạt động của giải pháp và làm theo các bước cần thiết để triển khai giải pháp đó.
Ứng dụng này hoạt động như thế nào?
Tính năng đo lường lượt chuyển đổi trên thiết bị giúp đo lường lượt cài đặt ứng dụng và hành động trong ứng dụng từ chiến dịch Quảng cáo ứng dụng iOS. Google Analytics cho SDK Firebase thực hiện hoạt động phân bổ trên thiết bị bằng thông tin nhận dạng của người dùng có được từ trải nghiệm đăng nhập trong ứng dụng của bạn. Thông tin nhận dạng của người dùng được ẩn bằng phương pháp chuyển đổi trên thiết bị của chúng tôi, vì vậy, không có thông tin nhận dạng cá nhân nào được gửi từ thiết bị của người dùng.
Để sử dụng công nghệ này, bạn cần có địa chỉ email hoặc số điện thoại do người dùng cung cấp và đã đồng ý. Thông qua API initiateOnDeviceConversionMeasurement(), Google Analytics sử dụng địa chỉ email hoặc số điện thoại cho SDK Firebase để phân bổ, nhờ đó, dữ liệu cá nhân này không bao giờ được gửi ra khỏi thiết bị theo cách có thể xác định người dùng hoặc thiết bị. Tính năng này hoạt động trên các ứng dụng chạy iOS 12 trở lên.
Bạn có thể sử dụng Firebase Authentication để cho phép người dùng đăng nhập vào ứng dụng của bạn bằng một hoặc nhiều phương thức đăng nhập. Sau khi tích hợp với Firebase Authentication, bạn có thể lấy email hoặc số điện thoại của người dùng đã đăng nhập để gửi đến Google Analytics cho SDK Firebase.
Các sản phẩm và tính năng được sử dụng trong hướng dẫn này
Google Ads
Google Ads giúp bạn tăng số lượt cài đặt, nhận được
thông tin chi tiết chuyên sâu về lượt chuyển đổi quảng cáo và chạy chiến dịch quảng cáo được nhắm mục tiêu bằng cách sử dụng
đối tượng Google Analytics để thu hút cơ sở người dùng.
Google Analytics
Google Analytics cung cấp cho bạn thông tin chi tiết về
mức độ tương tác, tỷ lệ giữ chân và các chỉ số kiếm tiền của người dùng như tổng doanh thu,
doanh thu AdMob, doanh thu từ giao dịch mua hàng và nhiều chỉ số khác. Tính năng này cũng cho phép bạn tạo phân khúc và đối tượng người dùng.
Firebase Authentication
Firebase Authentication cung cấp các dịch vụ phụ trợ,
SDK dễ sử dụng và thư viện giao diện người dùng tạo sẵn để xác thực người dùng với
ứng dụng của bạn. Thư viện này hỗ trợ xác thực bằng mật khẩu, số điện thoại,
các nhà cung cấp danh tính liên kết phổ biến (như Google, Facebook và Twitter), v.v.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["**Solution tutorial**\n\nGoogle's on-device conversion measurement improves the number of observable\nconversions from your iOS app campaigns while keeping users' personal data\nprivate. In this tutorial, you'll learn how the solution works and follow along\nwith the steps needed to implement it.\n\nHow does this work?\n\nOn-device conversion measurement helps measure app installs and in-app actions\nfrom your iOS app campaigns. The Google Analytics for Firebase SDK\nperforms on-device attribution using a user's identity provided by your app's\nsign-in experience. The user's identity is hidden through our on-device\nconversion approach so that no personally identifiable information ever leaves\nthe user's device.\n\nTo use this technology, you need a consented, user-provided email address or\nphone number. Through the `initiateOnDeviceConversionMeasurement()` API, the\nemail address or phone number is used by the Google Analytics for\nFirebase SDK for attribution such that this personal data is never sent off the\ndevice in a way that can identify the user or device. The feature works on apps\nrunning iOS 12+.\n\nYou can use Firebase Authentication to allow users to sign in to your app using\none or more sign-in methods. Once integrated with Firebase Authentication, you can get\nthe signed-in user's email or phone number to send to the Google Analytics\nfor Firebase SDK.\n\nProducts and features used in this tutorial\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Google Ads \u003e [Google Ads](/docs/ads) lets you drive installs, gain deep insights into ad conversions, and run targeted ad campaigns using Google Analytics audiences to engage your user base. Google Analytics \u003e [Google Analytics](/docs/analytics) gives you insight into user engagement, retention, and monetization metrics like total revenue, AdMob revenue, purchase revenue, and much more. It also allows you to create user audiences and segments. | Firebase Authentication \u003e [Firebase Authentication](/docs/auth) provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers (like Google, Facebook, and Twitter), and more. |\n\n\u003cbr /\u003e\n\nTutorial overview\n\n[Go\ndirectly to the step-by-step tutorial](/docs/tutorials/ads-ios-on-device-measurement/step-1)\n\n1. [**Implement\n a sign-in experience**](/docs/tutorials/ads-ios-on-device-measurement/step-1)\n\n 1. Use Firebase Authentication to build a sign-in experience.\n\n 2. Or, combine Firebase Authentication with your custom sign-in experience.\n\n 3. In your sign-in interface, get the user's email address or phone number.\n\n2. [**Integrate\n Google Analytics into your app**](/docs/tutorials/ads-ios-on-device-measurement/step-2)\n\n 1. Follow integration steps for Cocoapods, Swift Package Manager or manual\n installation.\n\n 2. Optionally, enable debug mode in Xcode.\n\n3. [**Initiate\n on-device conversion measurement**](/docs/tutorials/ads-ios-on-device-measurement/step-3)\n\n 1. Call the on-device measurement API with the email or phone number you\n gathered.\n\n 2. Verify API function with debug logs.\n\n4. [**Troubleshoot and\n handle common issues**](/docs/tutorials/ads-ios-on-device-measurement/step-4)\n\n 1. If needed, troubleshoot with the help of support resources for\n Firebase Authentication and Google Analytics.\n\n 2. Handle some commonly-encountered issues.\n\nWhat you'll need\n\n- Your own app that can run on iOS 12 or higher\n\n- Your app registered as a Firebase App that's linked to Google Analytics\n and Ads\n\n- Your preferred IDE\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\u003cbr /\u003e\n\n[**Step 1** : Implement a sign-in experiencearrow_forward_ios](/docs/tutorials/ads-ios-on-device-measurement/step-1)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n*** ** * ** ***"]]