Skip to content

Link Shortening

Link shortening and click tracking allow you to automatically shorten URLs contained in SMS messages and collect click-through-rate analytics, providing additional engagement metrics to help understand how your users are engaging with your SMS campaigns.

Overview

Link shortening and click tracking can be enabled at the message variant-level in both campaigns and Canvases.

The length of the URL will be determined by the type of tracking that is enabled:

  • Basic tracking enables campaign-level click tracking. Basic links will have a length of between 20-21 characters.
  • Advanced tracking enables campaign-level and user-level click tracking. Links with advanced tracking are longer by up to 7 characters and allow you to create segments of users who have clicked on URLs. Advanced links will have a length of between 27-28 characters.

Links will be shortened using our shared short domain (brz.ai). An example URL may look something like this: https://brz.ai/8jshX (basic) or https://brz.ai/8jshX/2dj8d (advanced). Refer to the Testing for more information.

Shortened URLs will be valid for one year from the date they were created.

To enable link shortening, ensure the link shortening toggle in the message composer is enabled. From there, choose whether to use Basic or Advanced by selecting the respective radial button.

For Braze to recognize URLs, they must start with http:// or https://. When a URL is recognized, the Preview pane will update with a placeholder URL. Braze will estimate the length of the URL after shortening, but a warning will prompt you to select a test user and save the message as a draft for a more accurate estimate.

Testing

We always recommend that you preview and test your message before launching a campaign or Canvas.

Navigate to the Test tab to preview and send an SMS to content test groups or an individual user. The preview will update with relevant personalization and the shortened URL. The number of characters and billable segments will also update to reflect the rendered personalization and the shortened URL.

Make sure to save the campaign or Canvas before sending a test message to receive the shortened URL that will be dispatched in your message. If the campaign or Canvas is not saved before a test send, the test send will contain a placeholder URL.

Click tracking

When link shortening is enabled, the SMS and MMS performance table include a column titled Total Clicks that shows a count of click events per variant and an associated click rate. For more details on SMS metrics, see SMS message performance.

The Historical Performance and SMS Overview chart also includes an option for Total Clicks and shows a daily time series of click events.

Retargeting users

For guidance on retargeting, visit SMS retargeting.

Custom domains

Link shortening also allows you to use your own domain to personalize the look and feel of your shortened URLs, helping portray a consistent brand image.

Domain requirements

  • Domains must be procured, owned, and managed by you.
  • The domain used for this feature must be unique (that is, different from your website domain), and the domain can’t be used to host any web content.
    • You can also use unique subdomains, such as sms.braze.com.
  • We recommend choosing a domain with as few characters as possible to minimize the length of your URLs.

Using custom domains

Once configured, custom domains can be assigned to one or multiple SMS subscription groups.

Subscription groups settings that allow you to select a link-shortening domain.

Campaigns sent with link shortening enabled will use the assigned domain associated with your SMS subscription group.

Frequently asked questions

How long are the shortened URLs?

Shortened URLs will be between 20 and 21 characters long.

No. Currently, only static URLs are shortened.

If the campaign has been saved as a draft before test sending, yes! Otherwise, it is a placeholder link. Note that the exact URL sent in a launched campaign may differ from the one sent via a test send.

No, Link Shortening will work without any SDK integration.

Do I know which individual users are clicking on a URL?

Yes. When Advanced Tracking is turned on, you can retarget users who have clicked URLs by leveraging the SMS retargeting filters or the SMS click events (users.messages.sms.ShortLinkClick) sent via Currents.

Can I add UTM parameters to a URL before it is shortened?

Yes! Any static URL parameters can be added.

How long do shortened URLs remain valid?

One year from the time of URL registration (such as first send).

Link shortening will shorten any static URLs that start with http:// or https://. However, it is not advised to further shorten generated universal links (from providers such as Branch or Appsflyer) as this may break the attribution or redirect of those tools.

Custom domains

Can delegated domains be shared across multiple subscription groups?

Yes, a single domain can be used with multiple subscription groups. To do so, select the domain for each subscription group that it should be associated with.

Can delegated domains be shared across multiple workspaces?

Yes, domains can be associated with subscription groups in multiple workspaces, assuming the workspaces are contained within the same company.

HOW HELPFUL WAS THIS PAGE?
New Stuff!