Message types
Zalo Notification Service
Message templates
Zalo Notification Service (ZNS) messages must always use pre-approved templates registered with Zalo. Templates can include text, placeholders, accented characters; and rich formatting such as tables, images, and call-to-action (CTA) buttons.
ZNS templates support a maximum of 400 characters.
For more information, refer to the ZNS compliance and guidelines section. For assistance with registering a Zalo ZNS template, contact our Support.
URL shortening and tracking
Infobip enables URL shortening and tracking for ZNS messages, allowing businesses to monitor link clicks only for CTA (call-to-action) buttons. Customers can use URL shortening in two ways:
1. Shortening URLs inside placeholders
- You can register a template placeholder (
param1
) for URLs. Infobip will automatically shorten them when sending messages if shortening is enabled. However, these shortened links will not be clickable in the Zalo app on mobile devices, meaning engagement (click tracking) is not possible. However, these shortened links will not be clickable in the Zalo app on mobile devices, meaning engagement (click tracking) is not possible.
2. Tracking clicks on URLs in CTA buttons
- For click tracking, the template must include a CTA button with a custom domain at the time of creation. The button's URL must be in the following format:
https://<custom_domain>/<param1>
.
The param1
parameter is a registered placeholder that will be replaced with the full URL when sending the message. The custom domain must be verified for the customer's account and cannot be changed later.
Click tracking is only available for URLs inside CTA button. URLs in CTA buttons cannot be shortened if the template was not initially created for tracking.
Important considerations
- All placeholders in a template will be shortened. You cannot selectively exclude certain parameters.
- Only CTA button templates allow click tracking. Shortened URLs in template placeholders are not clickable.
- Always provide the full original URL as the parameter value for CTA button templates. Infobip will automatically shorten it.
- Do not manually insert a pre-shortened URL as the parameter value.
- Once registered, a CTA button's domain cannot be modified, and tracking cannot be enabled for templates not originally created for this purpose.
Tracking and shortening is available over: