התקנה של ReferrerGet
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שיעור סיום ציבורי
InstallReferrerReceiver
ה-Intent של com.android.vending.INSTALL_REFERRER ב-Google Play משודר כאשר
מותקנת מחנות Google Play. המקלט הזה מאזין
כוונה, העברה של הנתונים של הגורם המפנה להתקנה אל GTM עבור אפליקציות לנייד ו-Google Analytics.
כדי להפעיל את המקבל הזה, צריך להוסיף את הפרטים הבאים לקובץ AndroidManifest.xml:
<!-- Used for install referrer tracking-->
<service android:name="com.google.tagmanager.InstallReferrerService"/>
<receiver
android:name="com.google.tagmanager.InstallReferrerReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
המקבל הזה יפעיל באופן אוטומטי את המקבל של Google Analytics כדי להגדיר את
נתוני הקמפיין. אם ה-SDK של Google Analytics וגם ערכות ה-SDK של Google Tag Manager נמצאים בשימוש,
צריך להפעיל רק את המקלט הזה.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `InstallReferrerReceiver` class listens for the `com.android.vending.INSTALL_REFERRER` intent, which is broadcast upon app installation from the Google Play Store. Upon receiving this intent, it passes install referrer data to Google Tag Manager (GTM) and Google Analytics. To enable, it requires a service and a receiver declaration in the `AndroidManifest.xml`, specifying the intent action. The class features a constructor and an `onReceive` method that processes the received intent. It also sets campaign data for the Google Analytics.\n"]]