אחד היתרונות של קישור אפליקציות הוא שהוא מאפשר להפנות משתמשים מהקריאה לפעולה לחוויות המותג שלכם מ-Google Wallet. קישורים עם התכונה הזו מופיעים בחלק התחתון של הכרטיס.
דוגמה לתכונה
המנפיק
הגדרת הקישור לאפליקציה בכרטיס ב-Google Wallet
עבור כרטיס מתנה נתון, מגדירים את השדה GiftCardObject.appLinkData
כ-URI או כשם החבילה של האפליקציה או האתר.
הפורמט וההקשר של השדה appLinkData מופיעים בקוד המקור הבא:
השדה displayText מוגבל ל-30 תווים.
[null,null,["עדכון אחרון: 2025-02-28 (שעון UTC)."],[[["There are four ways to add links to a gift card: using `GiftCardClass.LinksModuleData` for all cards in a class, `GiftCardObject.LinksModuleData` for a specific card, `GiftCardObject.appLinkData` for an app link at the bottom of a specific pass, and `GiftCardClass.appLinkData` for an app link at the bottom of all passes in a class."],["App linking enables call-to-actions that navigate users to branded experiences from Google Wallet, appearing at the bottom of the pass."],["To set an app link, configure the `GiftCardObject.appLinkData` field with the URI or Package name of your app or website for a given gift card."],["The `appLinkData` field allows specifying `androidAppLinkInfo` for Android and `webAppLinkInfo` for web links, along with `displayText` (limited to 30 characters) for the link's visible label."],["An alternative implementation for `appLinkData` utilizes `targetUri` within `androidAppLinkInfo` to link directly to the app's Play Store listing."]]],["Links can be added to gift cards in four ways: via `GiftCardClass.LinksModuleData` (for all cards in a class), `GiftCardObject.LinksModuleData` (for a specific card), `GiftCardObject.appLinkData`, or `GiftCardClass.appLinkData` (both for app links). `AppLinkData` enables navigation to branded experiences and appears at the pass's bottom. Deep linking requires `webAppLinkInfo`. `appLinkData` includes `androidAppLinkInfo` or `webAppLinkInfo`, and `displayText` (limited to 30 characters).\n"]]