Deep Linking
Deep Linking
Deep Linking Types
Since users may or may not have the mobile app installed, there are 2 types of deep linking:
- Deferred Deep Linking - Serving personalized content to new or former users, directly after the installation.
- Direct Deep Linking - Directly serving personalized content to existing users, which already have the mobile app installed.
For more info please check out the OneLink™ Deep Linking Guide.
The set up for deferred deep linking and direct deeplinking is the same for UE4:
-
Create a new Actor object.
-
Click Add Component and and the AppsFlyer SDKCallback Component.
-
You can now add the required callbacks.
Now you are ready to implement Deeplinking!
Deferred Deep Linking
Check out the deferred deeplinkg guide from the AppFlyer knowledge base here
Code Sample to handle the conversion data:
Direct Deeplinking
When a deeplink is clicked on the device the AppsFlyer SDK will return the link in the onAppOpenAttribution method.
Configuração do Android Deeplink
URI Scheme
No manifesto do seu aplicativo, adicione o seguinte filtro de intent à sua atividade relevante:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="your unique scheme" />
</intent-filter>
App Links
Para mais informações sobre links de aplicativo, consulte o guia aqui.
Configuração do iOS Deeplink
Para mais informações sobre links universais, consulte o guia aqui.
Essencialmente, o método de links universais vincula um aplicativo móvel iOS e um site/domínio associado, como o domínio OneLink da AppsFlyer (xxx.onelink.me). Para isso, é necessário:
- Configurar o subdomínio do OneLink e o link para o aplicativo móvel (hospedando o arquivo 'apple-app-site-association' - a AppsFlyer cuida dessa parte na configuração do Onelink em seu painel)
- Configure o aplicativo móvel para registrar domínios aprovados:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:test.onelink.me</string>
</array>
</dict>
</plist>
Atualizado 11 meses atrás