In this article, you will learn how to use deep links in your Viber message on the Apifon platform.
Viber deep links are a feature that allows you to perform actions inside the Viber application and make your Viber messages more interactive.
When a subscriber clicks on a deep link in a Viber message, instead of being redirected to a new page, an action will be performed within the Viber app.
- You can add a deep link to your Viber Quick Message, Campaign or Template.
- You can either insert the deep link in the button URL field or the text area.
The available Viber deep links are the following:
- Click to Call
- Open Chat
- Public Account
- QR Scanner
- Chatbot Conversation
- Chatbot Info Screen
- Custom Chatbot Context
Click to Call
Deep link: viber://keypad?number=<number>
Action: Redirects to the Viber keypad filled with your number.
Steps: Type the deep link, and replace <number> with the digits of your phone number. Remember to add the country code (e.g. 30) and erase the <> symbols.
Open Chat
Deep link: viber://chat?service=<serviceid>
Action: Redirects to the chat window of your 2way Sender ID.
Steps: Type the deep link, and replace the <serviceid> with the service ID of your 2way Sender ID. Remember to erase the <> symbols.
You can use this feature only with a 2way Viber Sender ID.
Public Account
Deep link: viber://public?id=<uniqueID>
Action: Redirects to your Public Account (feature by the Viber application).
Steps: Type the deep link, and replace <uniqueID> with your unique ID number, provided by Viber. Remember to erase the <> symbols.
You can use this feature only if you have a Public Viber Account.
QR Scanner
Deep link: viber://more/qr
Action: Redirects to a QR scanner inside the Viber application.
Steps: Type the deep link, and leave it unchanged.
Chatbot Conversation
Deep link: viber://pa?chatURI=<URI>
Action: Redirects to a conversation with the bot and triggers a conversation-started event.
Steps: Type the deep link, and replace <URI> with your Chatbot URI.
Remember to erase the <> symbols.
You can use this feature only if you have a Chatbot.
Chatbot Info Screen
Deep link: viber://pa/info?uri=<URI>
Action: Redirects to the info screen of the bot.
Steps: Type the deep link, and replace <URI> with your Chatbot URI.
Remember to erase the <> symbols.
This deep link is supported on Android and iOS, but not on Desktop.
Custom Chatbot Context
Deep link: viber://pa?chatURI=<URI>&context=<YourContext>
Action: Redirects to a chatbot conversation with custom context for every subscriber.
Steps: First, type the deep link, and replace the word <URI> with your Chatbot URI.
Then, delete the phrase <YourContext>, and select a subscriber field to replace it.
Remember to erase the <> symbols.
Now you know how to use a deep link in your Viber message on the Apifon platform. 🚀
Thank you for reading!