Deeplinks can be used to link from Pulsate to your App, other Apps or Call Phone numbers. The Pulsate Panel allows you to create buttons in your marketing campaigns that will lead to deep links in your application.
Deeplinks must be unique
When creating Deeplinks that target your App please remember to pick a scheme / name that will be unique. If many Apps on the device have the same Deeplink schemes / names, upon clicking the Deeplink the phone will ask with which App should it open the Deeplink instead of instantly opening your App.
The first step is adding the Deeplinks in the Pulsate CMS to later allow using them in campaigns (https://control.pulsatehq.com).
From the CMS dashboard select your application and click Settings/App Settings.
In the App Settings you will find the "Add Deeplink" and "Manage Deeplinks" sections.
To add a Deeplink just specify it's name and it's value and click "Save".
The Deeplink should now be added to your account. You can now use them when building campaigns.
Create Deeplink to call Phone Number
To create a Deeplink that opens the Phone App and enters a phone number just create a Deeplink with an url formated like this "tel:+123456789". This will automatically open the Phone App on both Android and iOS and set "+123456789" as the number to call.
Already existing Deeplinks can be edited or deleted by using the "Edit" and "Delete" buttons next to the Deeplink.
Alternatively deeplinks can be added using our CMS API.
Open your AndroidManifest.xml file and add a url scheme to the activity that should open when a given deeplink is clicked.
Example - we have a DeeplinkActivity that we want to open when a deeplink://pulsatehq/pulsate is clicked.
<activity android:name="com.pulsate.DeeplinkActivity" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <!-- Handles any deeplink://pulsatehq/pulsate URI's --> <data android:scheme="deeplink" android:host="pulsatehq" android:pathPrefix="/pulsate" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter> </activity>
This will cause any link that starts with "deeplink://pulsatehq/pulsate" to open your DeeplinkActivity.