Custom Button Deeplinks
With the Custom Button Deeplink feature, you can dynamically redirect users to personalized destinations based on their profile attributes. Instead of using static links, you can configure deeplinks that adapt to each user's data—whether it’s directing them to a specific bill payment page, transaction history, or account details.

Step 1: Create a Deeplink with Profile Attributes
Go to the Developers Section
Navigate to Deeplinks in the panel.
Define a Profile Attribute-Based Deeplink
When creating a deeplink, include a profile attribute placeholder in the format:
@{profileAttribute}Example:
https://example.com/@{profileAttribute}This ensures that the link is dynamically adjusted based on each user’s profile attribute value at the time of message delivery.

Add the Deeplink to the Widget
Once the deeplink is created, it must be assigned within the widget configuration.
Best Practices for Deep Link Configuration
When creating a deeplink, it's important to ensure that the URL follows both general URL standards and Netmera's expected format. The key points to consider are listed below:
Complete URL Structure The URL must start with a protocol such as HTTP or HTTPS.It is recommended to use https:// for secure connections.
Domain Validity The domain you use must be valid and accessible. Make sure that the link points to an active and reachable domain.
Special Characters and Encoding If your URL contains spaces, Turkish characters (ç, ğ, ı, ö, ş, ü), or special symbols (other than &, ?, =, #), they must be converted using URL encoding. However, placeholders such as @{profileAttribute} used in Netmera are directly supported and do not require encoding.
Placeholder Format For Netmera, profile attribute placeholders must follow the @{profileAttribute} format. Ensure that both the @ symbol and curly braces
{}are used correctly to maintain proper functionality.In-App Deeplink Support For a deeplink to open the intended page correctly, the mobile application must include the necessary deeplink support. This involves defining URL schemes or intent filters (for Android) and universal links (for iOS), as well as handling incoming parameters to ensure smooth navigation when the link is triggered.
Step 2: Configure the Widget for Transactional Push
Navigate to the Widget Design Page
Go to the Widget Design section where the transactional push will be configured.
Enter the Deeplink in the Action Settings
Under the Action settings, choose the Deep Link option.
You may choose one of the pre-defined deeplinks with Select Deep Link.

You may also input the deeplink using the profile attribute placeholder with Entry Deep Link.
@{profileAttribute}
Add and Select the Deeplink
Click Add to save the deeplink.
Set Up Transactional Push Delivery
When sending the push notification, the profile attribute value can be manipulated dynamically, ensuring the correct deeplink is assigned per user.
Step 3: Create a Transactional Message with Profile Attributes
To send a transactional push notification using a deeplink based on a user’s profile attribute, use the following cURL request:
curl --location --request POST 'https://restapi.netmera.com/rest/3.0/sendNotification' \
--header 'X-netmera-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"notificationKey": "1000",
"message": {
"params": {
"profileAttribute": "https://example.com/@{profileAttribute}"
}
},
"target": {
"extId": "userexid"
}
}'User Experience
When the transactional push is sent, the system checks the profile attribute for each user.
The deeplink dynamically updates with the corresponding profile attribute value.
Users receive a widget with a customized button deeplink redirecting them to their specific destination.
Last updated