מדריך: שימוש בנתונים מאינטראקציה ישירה (First-Party) כדי למדוד המרות ב-Google Ads מקמפיינים לקידום אפליקציות ל-iOS
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מדריך לפתרון
הכלי של Google למדידת המרות במכשיר משפר את מספר ההמרות שניתנות למדידה מהקמפיינים לקידום אפליקציות ל-iOS, תוך שמירה על פרטיות המידע האישי של המשתמשים. במדריך הזה נסביר איך הפתרון פועל ונלמד את השלבים להטמעה שלו.
איך זה עובד?
מדידת ההמרות במכשיר עוזרת למדוד התקנות של אפליקציות ופעולות בתוך אפליקציות שנובעות מהקמפיינים לקידום אפליקציות ל-iOS. ה-SDK של Google Analytics for Firebase מבצע שיוך (Attribution) במכשיר באמצעות זהות המשתמש שסופקה בעת הכניסה שלו לאפליקציה. זהות המשתמש מוסתרת באמצעות גישת ההמרה שלנו במכשיר, כך שאף פעם לא מתקבלים פרטים אישיים מזהים מהמכשיר של המשתמש.
כדי להשתמש בטכנולוגיה הזו, צריך לקבל הסכמה מהמשתמשים ולקבל מהם כתובת אימייל או מספר טלפון. Google Analytics for Firebase SDK משתמש בכתובת האימייל או במספר הטלפון דרך ה-API של initiateOnDeviceConversionMeasurement()
לצורך שיוך (Attribution), כך שהמידע האישי הזה אף פעם לא נשלח מהמכשיר באופן שאפשר לזהות באמצעותו את המשתמש או את המכשיר. התכונה פועלת באפליקציות עם iOS מגרסה 12 ואילך.
אפשר להשתמש ב-Firebase Authentication כדי לאפשר למשתמשים להיכנס לאפליקציה באמצעות שיטת כניסה אחת או יותר. אחרי השילוב עם Firebase Authentication, תוכלו לקבל את כתובת האימייל או מספר הטלפון של המשתמש שנכנס לחשבון כדי לשלוח אותם ל-Google Analytics של Firebase SDK.
המוצרים והתכונות שבהם נעשה שימוש במדריך הזה
Google Ads
Google Ads מאפשר לכם להגדיל את מספר ההתקנות, לקבל תובנות מעמיקות לגבי המרות ממודעות ולהריץ קמפיינים ממוקדים של מודעות באמצעות קהלים של Google Analytics כדי לעורר עניין בקרב בסיס המשתמשים שלכם.
Google Analytics
Google Analytics מספק תובנות לגבי מדדי מעורבות, שימור והכנסות ממשתמשים, כמו ההכנסה הכוללת, ההכנסה מ-AdMob, ההכנסה מרכישות ועוד. אפשר גם ליצור קהלים ופלחים של משתמשים.
|
Firebase Authentication
Firebase Authentication מספק שירותי קצה עורפי, ערכות SDK פשוטות לשימוש וספריות מוכנות של ממשק משתמש לאימות המשתמשים באפליקציה. הוא תומך באימות באמצעות סיסמאות, מספרי טלפון, ספקי זהויות מאוחדות פופולריים (כמו Google, Facebook ו-Twitter) ועוד.
|
סקירה כללית של המדריך
מעבר ישירות להדרכה המפורטת
הטמעת חוויית כניסה
אפשר להשתמש ב-Firebase Authentication כדי ליצור חוויית כניסה.
אפשר גם לשלב את Firebase Authentication עם חוויית הכניסה המותאמת אישית שלכם.
בממשק הכניסה, מקבלים את כתובת האימייל או את מספר הטלפון של המשתמש.
שילוב Google Analytics באפליקציה
פועלים לפי שלבי השילוב של Cocoapods, Swift Package Manager או התקנה ידנית.
אפשר גם להפעיל את מצב ניפוי הבאגים ב-Xcode.
הפעלת מדידת המרות במכשיר
קוראים ל-API למדידה במכשיר עם כתובת האימייל או מספר הטלפון שאספתם.
אימות פונקציית API באמצעות יומני ניפוי באגים.
פתרון בעיות נפוצות וטיפול בהן
אם צריך, אפשר לפתור את הבעיה בעזרת משאבי התמיכה של Firebase Authentication ו-Google Analytics.
טיפול בבעיות נפוצות.
מה צריך
אפליקציה משלכם שיכולה לפעול ב-iOS מגרסה 12 ואילך
האפליקציה שלכם רשומה כאפליקציית Firebase שמקושרת ל-Google Analytics ול-Google Ads
סביבת הפיתוח המשולבת (IDE) המועדפת עליכם
שלב 1: הטמעת חוויית כניסהarrow_forward_ios
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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*** ** * ** ***"]]