Auf dieser Seite: Erfahren Sie, wie Sie Deep-Links in E-Mail- und Mobile-Inhalten erstellen, in Adobe Journey Optimizer konfigurieren und die verfolgten Links in Ihren iOS- und Android-Apps verarbeiten können, damit die Empfängerinnen und Empfänger auf dem rechten In-App-Bildschirm landen.
Deep-Links helfen Ihnen, Empfänger von einer E-Mail oder Mobile-Nachricht zu einem bestimmten Bildschirm oder Inhalt in Ihrer Mobile App zu führen. Dadurch können Benutzende direkt zum gewünschten In-App-Erlebnis gelangen, ohne dass sie über einen Webbrowser oder einen App Store weitergeleitet werden, sodass die Journey relevant und markenkonform bleibt.
Wenn Ihre Empfängerinnen und Empfänger auf den Deeplink klicken, werden sie direkt zum gewünschten In-App-Inhalt weitergeleitet – vorausgesetzt, Sie haben Folgendes abgeschlossen:
-
die Konfigurationsschritte in Journey Optimizer;
-
die App-Implementierung für iOS und Android in Ihrer App.
/ee/v1/mclick/*), um Kompatibilität und Klick-Tracking sicherzustellen.Erstellen von Deeplinks authoring
E-Mail authoring-email
Für E-Mail-Nachrichten haben Sie zwei Möglichkeiten, einen Deeplink einzufügen:
-
E-Mail-Designer: Stellen Sie sicher, dass das Linktracking aktiviert ist. Wählen Sie das Element aus, das Sie verknüpfen möchten (Text, Schaltfläche oder Bild), klicken Sie auf Link einfügen in der kontextuellen Symbolleiste und wählen Sie Deeplink aus, um Ihre Deeplink-URL einzugeben. Weitere Informationen zum Einfügen von Links
-
Personalisierungseditor (Code): Fügen Sie den Deeplink mithilfe des folgenden Ausschnitts direkt in HTML ein:
code language-html <a class="arc-link" data-nl-type="DEEPLINK" href="<<deeplink_url>>" id="acr-link-7821368" style="text-decoration:underline;" target="_blank" data-tracking-type="DEEPLINK">Click Here</a>note tip TIP Ersetzen Sie <<deeplink_url>>durch Ihre tatsächliche Deeplink-URL und verwenden Sie zur Vermeidung von Konflikten für jeden Block eine eindeutigeid.
Mobilnachricht authoring-sms
Bei mobilen Nachrichten werden Deep-Links mit der Hilfsfunktion URL im Personalisierungseditor erstellt. In diesem Abschnitt erfahren Sie, wie Sie Links zu mobilen Inhalten hinzufügen.
Verwenden Sie die folgende Syntax, um Deep-Links in Nachrichteninhalte für Mobilgeräte einzufügen:
{{url originalUrl='<<url>>' type='DEEPLINK' action='CLICK'}}
<<url>> durch Ihre tatsächliche Deeplink-URL.Konfiguration in Journey Optimizer configuration
Um Deep-Links in E-Mails und Mobile für Ihre Mobile Apps verwenden zu können, führen Sie die folgenden Konfigurationsschritte aus.
-
Delegieren Sie in Journey Optimizer die Subdomain, für die Deeplinking aktiviert ist. Weitere Informationen
-
Hosten Sie die AASA-Datei für iOS und die assetLinks.json-Datei für Android in Ihrer Subdomain. Wenden Sie sich mit den folgenden Informationen an die 🔗Adobe-Kundenunterstützung oder Ihren Adobe-Support-Kontakt:
-
Für iOS (AASA):
- Delegierte Subdomain
- App-Paket-ID
-
Für Android (assetLinks.json):
- Delegierte Subdomain
- App-Paket-ID
- SHA-256-Zertifikat-Fingerabdruck
-
/ee/v1/mclick/*, die von Adobe gehostet und aufgelöst werden.App-Implementierung mobile-implementation
In diesem Abschnitt wird erläutert, wie Sie mobile Deeplinks mit Adobe Journey Optimizer implementieren, sodass in einem typischen HTTPS-Setup (universelle Links und App-Links) eine einzelne URL Folgendes kann:
- einen bestimmten Bildschirm in der App öffnen, wenn die App installiert ist, oder
- Ihre Website als Fallback öffnen, wenn die App nicht installiert ist.
Wenn das Linktracking für Ihre Nachricht aktiviert ist, trackt Journey Optimizer diese Klicks weiterhin, bezieht sie in das Reporting ein und kann sie in Inhaltsexperimenten verwenden, wenn Sie sie für die Nachricht ausführen.
In diesem Abschnitt finden Sie allgemeine Implementierungsmuster für Deeplinks. Das genaue Setup hängt von Ihrer App-Architektur und dem Routing-Framework ab.
iOS (Universelle Links) ios-implementation
-
Wählen Sie in Xcode Ihr Ziel über Signing & Capabilities > + Capability > Associated Domains aus.
-
Fügen Sie Einträge für Ihre delegierten Subdomains hinzu, z. B.:
code language-text applinks:www.mybusiness.com applinks:data.email.mybusiness.com -
Verarbeiten Sie universelle Links in der App und rufen Sie den ursprünglichen Link aus dem Antwort-Header ab.
accordion Beispiel: iOS 13+ mit Szenen code language-swift class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { guard userActivity.activityType == NSUserActivityTypeBrowsingWeb, let incomingURL = userActivity.webpageURL else { return } handleUniversalLink(url: incomingURL) } private func handleUniversalLink(url: URL) { // Only handle AJO tracked mobile clicks guard url.host == "data.email.mybusiness.com", url.path.hasPrefix("/ee/v1/mclick") else { // Could also handle direct www.mybusiness.com links here return } resolveTrackedUrlAndRoute(url) } private func resolveTrackedUrlAndRoute(_ trackedUrl: URL) { var request = URLRequest(url: trackedUrl) request.httpMethod = "GET" URLSession.shared.dataTask(with: request) { _, response, error in guard error == nil, let httpResponse = response as? HTTPURLResponse, let locationValue = httpResponse.allHeaderFields["Location"] as? String, let finalUrl = URL(string: locationValue) else { return } DispatchQueue.main.async { self.routeToDestination(finalUrl) } }.resume() } private func routeToDestination(_ url: URL) { // Example: map URL paths to screens // https://www.mybusiness.com/dashboard/offers/coupons // → OffersViewController for Coupons } }
mclick-URL durchführen und den Location-Header lesen und dann basierend auf der endgültigen-URL weiterleiten.mclick-URL in Safari. Das widerspricht dem Zweck des Deeplinkings.Android (App-Links) android-implementation
-
Fügen Sie in Ihrer Android-App einen Mobile-App-Link-Intent-Filter hinzu.
code language-xml <activity android:name=".DeepLinkActivity" android:exported="true"> <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="https" android:host="data.email.mybusiness.com" android:pathPrefix="/ee/v1/mclick" /> </intent-filter> </activity> -
Implementieren Sie den Deeplink-Handler.
accordion In Kotlin: code language-kotlin class DeepLinkActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val trackedUri = intent?.data if (trackedUri == null || trackedUri.host != "data.email.mybusiness.com" || !trackedUri.path.orEmpty().startsWith("/ee/v1/mclick")) { finish() return } resolveTrackedUrlAndRoute(trackedUri) } private fun resolveTrackedUrlAndRoute(trackedUri: Uri) { lifecycleScope.launch(Dispatchers.IO) { try { val finalUrl = followRedirect(trackedUri.toString()) withContext(Dispatchers.Main) { routeToDestination(finalUrl) finish() } } catch (e: Exception) { // Optionally log error, fallback to browser finish() } } } private fun followRedirect(trackedUrl: String): Uri { val client = OkHttpClient.Builder() .followRedirects(false) // We want to read Location ourselves .build() val request = Request.Builder() .url(trackedUrl) .get() .build() client.newCall(request).execute().use { response -> val location = response.header("Location") ?: throw IllegalStateException("Missing Location header") return Uri.parse(location) } } private fun routeToDestination(finalUri: Uri) { // Example: interpret https://www.mybusiness.com/dashboard/offers/coupons // and open the correct Activity / Fragment } }
mclick-URL aufrufen und den Location-Header verwenden, um das endgültige Ziel zu bestimmen.followRedirects(false), damit Sie die Umleitungshandhabung steuern und Analysen bei Bedarf genau protokollieren können.Empfohlene Verfahren deeplink-best-practices
- Stabile Pfade verwenden: Routen bevorzugen, die gegenüber Änderungen der App-Benutzeroberfläche robust sind (z. B.
/account/ordersstatt/tab/3/view/2). - Getrackte Pfade berücksichtigen: Wenn das Linktracking aktiviert ist, kann der angeklickte Link getrackte Pfadmuster verwenden (z. B.
/ee/v1/mclick/). Stellen Sie sicher, dass Ihr Router die endgültige URL analysieren kann, nachdem der getrackte Link aufgelöst wurde. - Parameter vorhersehbar halten: Definieren Sie ein konsistentes Parameterschema (z. B.
?orderId=12345). - Vertrauliche Daten in URLs vermeiden: Fügen Sie keine Geheimnisse oder personenbezogenen Daten direkt in die Deeplink-URL ein.
- Deeplink testen: Führen Sie einen Testversand durch und klicken Sie auf den Deeplink auf einem Gerät, auf dem die App installiert ist.
- Auf echten Geräten validieren: Universelle Links und das Verhalten bei der Auflösung getrackter Links sind bei der Validierung auf physischen Geräten zuverlässiger als auf Simulatoren.
- App-seitiges Routing validieren: Wenn der Deeplink nicht den erwarteten Bildschirm öffnet, validieren Sie das App-seitige Routing und das URL-Format (Host/Pfad/Abfrage und URL-Codierung).
- Die App-Initialisierung beachten: Das Verhalten von App-Links/universellen Links ist am zuverlässigsten, nachdem die App mindestens einmal installiert und geöffnet wurde.
Fehlerbehebung und häufig gestellte Fragen troubleshooting-faq
- Stellen Sie sicher, dass die URL den Host- und Pfadmustern entspricht, für die Ihre App registriert ist, einschließlich getrackter Klickpfade, wenn das Linktracking aktiviert ist (z. B. Pfade unter
/ee/v1/mclick/). - Bestätigen Sie bei universellen Links von iOS und Links zur Android-App, dass die Domain-Zuordnung (AASA/
assetlinks.json) korrekt konfiguriert und erreichbar ist. - Testen auf einem realen Gerät (Simulatoren/Emulatoren können sich für die Link-Zuordnung anders verhalten).
- Bestätigen Sie, dass der App-seitige Router den URL-Pfad/die Abfrage korrekt analysiert.
- URL-Codierung überprüfen: reservierte Zeichen sollten URL-codiert sein.
- Überprüfen Sie, ob Parameternamen und -werte mit den Erwartungen des Routers übereinstimmen.
- Wenn dieselbe HTTPS-URL von Ihrer Website bereitgestellt werden kann, kann der Link eine Web-Seite als Fallback öffnen, wenn die App nicht installiert ist (konfigurieren Sie Ihr Web-Ziel und das Routing entsprechend).
-
Erstellen Sie einen Testversand mit einem Deeplink und klicken Sie auf iOS- und Android-Geräten darauf (installierte und nicht installierte Szenarien).
-
Validieren:
- Der endgültige Wert der E-Mail- oder mobilen Nachrichtenverknüpfung (Host/Pfad/Abfrage)
- Die Verknüpfung auf Betriebssystemebene (bei Verwendung von universellen Links/App-Links)
- Das In-App-Routing-Ergebnis
assetlinks.json-Konfiguration für jede Subdomain an, die die Funktion unterstützen soll.appname://path)?appname://path), der empfohlene Ansatz ist jedoch ein universeller Link oder ein App-Link (https://), der dem HTTPS-basierten Setup in den Konfigurationsabschnitten und den Implementierungsabschnitten auf dieser Seite entspricht.Location-Header zurückgegeben wird, wenn Ihre App einen GET-Vorgang für die mclick-URL durchführt, sodass Sie sie für In-App-Analysen verwenden können./ee/v1/click/-URLs?mclick-Fluss gehandhabt.This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: This page explains how to author deep links in email and Mobile message content, configure them in Journey Optimizer, and handle the tracked links in iOS and Android apps so recipients land on the intended in-app screen.
Intents:
- Insert a deep link in an email with the Email Designer, by selecting Insert link in the contextual toolbar and choosing Deeplink.
- Insert a deep link directly into the HTML of an email in the personalization editor (code) with an anchor that uses
data-nl-type="DEEPLINK"anddata-tracking-type="DEEPLINK". - Insert a deep link in Mobile message content with the Url helper function, using
type='DEEPLINK'andaction='CLICK'. - Delegate the subdomain where deep linking is enabled and contact Adobe Customer Care or your Adobe representative to host the AASA file for iOS and the assetLinks.json file for Android on that subdomain.
- Implement Universal Links in an iOS app (Associated Domains in Xcode) and App Links in an Android app (an intent filter with
android:autoVerify="true"), then resolve the trackedmclickURL and route to the final URL.
Glossary:
- Deep link: A link that takes recipients from an email or mobile message to a specific screen or piece of content in your mobile app, without routing them through a web browser or an app store.
- Tracked deep link URL (
/ee/v1/mclick/*) (product-specific): The URL used by tracked deep link clicks. Adobe hosts and resolves these URLs. Journey Optimizer supports deep linking for both iOS and Android using these tracked URLs to ensure compatibility and click tracking. - Universal links (iOS) and app links (Android): HTTPS-based deep links. With them, a single URL can open a specific screen inside your mobile app when the app is installed, or open your website as a fallback when the app is not installed.
Locationheader: The header the app reads from the response to a GET on themclickURL to get the final URL to route to.- Url helper function (product-specific): The helper function of the personalization editor used to author deep links in Mobile message content.
Guardrails:
- The app must perform a GET on the
mclickURL and read theLocationheader, then route based on the final URL. This applies to iOS and Android. - Do not simply open the
mclickURL in Safari; that defeats the purpose of deep linking. - For non-tracked links, the URL is not rewritten through Adobe systems. You must configure universal links or app links on your own domains and hosting so those links open your app as intended.
Prerequisites and permissions:
- Deep links will not work unless you have completed the configuration steps in Journey Optimizer and the mobile app implementation steps for iOS and Android.
- For the Email Designer option, make sure link tracking is enabled.
Applicability:
- The configuration steps in Journey Optimizer apply when you use universal links (iOS) and app links (Android).
- Deep linking through Adobe infrastructure applies when link tracking is enabled for your message: in the email tracking settings, or in the Actions tracking section for Mobile campaigns.
Terminology:
- Canonical name: Deep link — variants: deeplink, Deeplink, DEEPLINK
- Canonical name: Mobile message — variants: SMS
- Canonical name: Universal links — variants: Universal Links
- Canonical name: App links — variants: App Links, App Link
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
- Do not confuse:
/ee/v1/mclick/URLs ≠/ee/v1/click/URLs. An/ee/v1/click/URL opens in the default web browser of the device (standard click tracking behavior), rather than being handled as an app deep link through themclickflow. - Do not confuse: a custom URL scheme (for example
appname://path) ≠ a universal link or app link (https://). You can use a custom URL scheme, but the recommended approach is a universal link or app link.
FAQ:
- What details do I send to Adobe to host the AASA and assetLinks.json files? For iOS (AASA): the delegated subdomain and the app bundle ID. For Android (assetLinks.json): the delegated subdomain, the app bundle ID and the SHA-256 certificate fingerprint.
- I have one app but different subdomains for the organization. Should I request AASA and assetLinks.json to be created for each subdomain? Yes. If you want deep linking on every delegated subdomain, request AASA and
assetlinks.jsonconfiguration for each subdomain that should support the feature. - What happens if the app is not installed? If the same HTTPS URL can be served by your website, the link can open a web page as a fallback when the app is not installed.
- Are deep link clicks tracked? When link tracking is enabled for your message, Journey Optimizer continues to track these clicks, includes them in reporting, and can use them in content experiments if you run them on the message.
- Will UTM parameters on the URL be available in the mobile app for analytics? Yes. UTM parameters you configure in Journey Optimizer are included in the final URL returned in the
Locationheader when your app performs a GET on themclickURL. - How should we test end-to-end? Create a proof with a deep link and click it on iOS and Android devices, with the app installed and not installed. Validate the final email or mobile message link value (host/path/query), the OS-level association (if using universal links or app links) and the in-app routing outcome.
Troubleshooting:
- The app does not open when I tap the deep link: Verify that the URL matches the host and path patterns your app is registered to handle, including tracked click paths when link tracking is enabled (for example paths under
/ee/v1/mclick/). For iOS universal links and Android app links, confirm that domain association (AASA orassetlinks.json) is correctly configured and reachable. Test on a real device (simulators and emulators can behave differently for link association). - The app opens but does not navigate to the expected screen: Confirm that the app-side router correctly parses the URL path and query. Check URL encoding: reserved characters should be URL-encoded. Validate that parameter names and values match what the router expects.
Examples:
- Mobile message deep link syntax:
{{url originalUrl='<<url>>' type='DEEPLINK' action='CLICK'}}, where<<url>>is replaced with your actual deep link URL. - Email deep link in the personalization editor (code): replace
<<deeplink_url>>in the snippet with your actual deep link URL and use a uniqueidfor each block to avoid conflicts. - iOS Associated Domains entries for delegated subdomains:
applinks:www.mybusiness.comandapplinks:data.email.mybusiness.com.
Best practices:
- Recommended: use stable paths, routes that are resilient to app UI changes (for example
/account/ordersinstead of/tab/3/view/2). - Recommended: when link tracking is enabled, account for tracked path patterns (for example
/ee/v1/mclick/) and make sure your router can parse the final URL after resolving the tracked link. - Recommended: keep parameters predictable with a consistent parameter scheme (for example
?orderId=12345). - Recommended: do not put secrets or personal data directly into the deep link URL.
- Recommended: test your deep link by sending a proof and clicking the deep link on a device where the app is installed.
- Recommended: validate on real devices; universal links and tracked-link resolution behaviors are more reliable to validate on physical devices rather than simulators.
- Recommended: URL-encode query parameter values. This reduces delivery and rendering issues and helps prevent parsing errors in your app.
- Recommended: keep app initialization in mind; App Links and Universal Links behavior is most reliable after the app has been installed and opened at least once.
- Recommended: in Android, use
followRedirects(false)so you control redirect handling and can log analytics accurately if needed, and define a clear mapping from URLs to screens.
Related pages:
- To enable link tracking for email: link tracking is enabled
- To author deep links in Mobile message content: Url
- To add links to mobile content: Design a Mobile message
- To delegate the subdomain where deep linking is enabled: Delegate a subdomain
- To use tracked deep link clicks in experiments: content experiments
Personas:
- marketer: Can insert a deep link in an email with the Email Designer by selecting the text, button or image to link, then Insert link, then Deeplink. The page states that deep links will not work unless the configuration and mobile app implementation steps are completed. Where: “Email”.
- developer: Can add Associated Domains entries for delegated subdomains in Xcode, for example
applinks:data.email.mybusiness.com. Can handle Universal Links in the app and get the original link from the response header. The page states that the app must perform a GET on themclickURL, read theLocationheader, then route based on the final URL. Where: “iOS (Universal Links)”.
Onboarding:
- Level: Intermediate
- First minimal step: In Journey Optimizer, delegate the subdomain where deep linking is enabled.
- Success check: When recipients click the deep link, they are taken directly to the intended in-app content.
- Previous: Before inserting a deep link with the Email Designer, make sure link tracking is enabled: link tracking is enabled