Use the Acoustic Campaign link tracking and shortening service to send SMS messages with a link to a landing page so you can know which customers clicked the link. When using this feature, links in the SMS message are replaced with a unique, shortened link for each contact. When a contact clicks on a shortened link, a universal behavior event (SMS - Clicked Link in SMS) generates that is then available for further audience segmentation and customer journey analysis.
Before you begin
- You can shorten and track up to 5 links per SMS message.
- Links must begin with http:// or https:// to be shortened.
- Links expire after 30 days. If a contact clicks an expired link, they see the default "Page not found" error page. You can also create a custom error page.
- If you specify a URL as one of the database columns and insert the URL as part of the SMS personalized data, then the current integration does not support shortening of this URL. The format is for shortened URLs is https://acs1.tc/xxxxxxxxx - see below for your specific pod.
acs1.tc - Pod 0-5, 9
acs2.tc - Pod 6
acs3.tc - Pod 8
acs4.tc - Pod 7
acs7.tc - Pod B
Note: In the preview mode, you will see a static value: https://acs1.tc/exampleurl.
- Acoustic link shortening service is not supported by using other URL shortening services. Although you can include your own shortened links in the SMS message, Acoustic Campaign does not track these links.
- Link shortening does not work with SMS sends triggered with transactional APIs.
How to shorten links in your SMS messages
- [Optional] If you want to use a custom domain for your shortened links, set it up first – follow the instructions in the next section.
- Create an SMS draft. In the Enter SMS message text box on the Set up your SMS page, enter the message and include up to 5 URLs that you want to shorten and track.
- Every link is automatically created with a 9-character alpha-numeric hash (the part after the "/") for Acoustic Campaign link shortening service.
- The standard shortened link is 19 characters, not including http:// or https://. By clicking the Preview button, the character count adjusts to include the shortened link in its total.Select the Replace URLs in this SMS message with shortened, trackable links checkbox before sending the message.
Set up your custom domain or subdomain (optional)
[Optional] You can set up a custom domain or subdomain for your shortened links. This provides an additional layer of personalization to your messages as well as improves your customers' confidence that your SMS messages aren't spam or a scam.
- Before you begin, make sure to collaborate with your IT department to complete through step 6. Begin by setting up an HTTPS web proxy on your network for your custom domain.
- Acquire a web domain to use as a custom link shortening domain. This must be different than your existing domain. For example, http://acme.com must use a domain such as http://acme1.com
- Acquire an SSL certificate for this custom domain. You are responsible for the renewal of the SSL certificate.
- Verify your HTTPS web proxy can handle the HTTPS traffic based on your SMS send volume.
- Add an
X-Forwarded-Host
HTTPS header whose value is set to the name of the custom domain as part of the forward request. For example,X-Forwarded-Host: https://acme1.com
. - Forward the HTTPS request to the default Acoustic link shortening domain:
acs1.tc -Pod 0-5, 9
acs2.tc - Pod 6
acs3.tc - Pod 8
acs4.tc - Pod 7
acs7.tc - Pod B - Submit a ticket through support to have the custom domain SMS link shortening feature turned on. Be sure to provide your pod number and organization name.
- Follow the steps below to specify your custom domain.
Example configuration
Here is an example configuration for NGINX to forward HTTPS request from a customer domain to the Acoustic link shortening service. You will need to set the server_name attribute and update the proxy_pass attribute at the bottom, which would be the value from step 6.
Note: Only the proxy_pass directive is required, but setting the related headers is a good practice.
server { server_name https://customdomain.com; listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; include snippets/sslcert.conf; # Proxy to the acsX.tc service. location / { proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Proxy to the destination. The full path of the request is passed along. proxy_pass https://acs1.tc ; } }
Specify your custom domain and/or a custom error page
- Go to Settings > Administration > Organization settings.
- Scroll to SMS URL shortener settings and click Edit.
- Skip this step if you do not want to specify your custom domain. Select the Custom domain enabled checkbox and fill in your custom domain in the Custom domain text field.
- Skip this step if you do not want to specify a custom error page. Select the Custom error page URL enabled checkbox and enter the URL of your custom error page in the Error page URL text field. Your customers are redirected to this custom page when a shortened link expires after 30 days. Your custom page does not have to be an error page, but could even be your company website.
- Click Save to process your changes.
Personalize shortened links
You can add personalization to “complete” a URL.
Note: You can't store the URL in a relational table and pull it into the SMS message. It appears to work, but behind the scenes, the URL is not pulled correctly.
Example 1
In this example, we added personalization based on database fields that will show a contact's first name and product choice in the message received:
Hello %%firstname%%. Please click the following link to learn more about your product choice: https://acoustic.com/%%product%%
The above would result in shortening the complete URL in the SMS message.
Add a shortened link based on a URL stored in your database
You can add a URL that is stored in your database, however, the URL has to start with 'www'. It can't be a complete URL that includes the protocol 'https://' or 'https://'. This is because Acoustic Campaigns link shortening is triggered when you type the protocol 'https://' or 'https://' in the Enter SMS message text field.
Example 2
In your database, the URLs are stored in the URL field. To add a personalized URL, type the protocol (https://) and the URL personalization element that includes the database field name (%%URL%%).
The contact will receive a personalized message that includes their name and a shortened link.
Track shortened links in an SMS
When a contact clicks the shortened URL in the SMS message, the system fires a universal behavior event. You can then create a query based on the event to see the contacts that clicked a link in your SMS message.
- Go to Data > Queries > Create query.
- Select the SMS database and location, name the query, and then save the query.
- Click Behavior and then click Universal behavior.
- In Choose universal behavior, choose SMS – Clicked link in SMS.
- You can refine your query by defining more parameters as seen in the table below.
Note: This link tracking only occurs with links shortened by Acoustic Campaign. Although you can include your own shortened links in an SMS message, Acoustic Campaign does not track these links.
Parameter |
Description |
Where to find |
Link name |
System-generated |
Not available in the user interface |
Link URL |
Original URL entered in the SMS body |
Go to Mobile > Mobile messages and templates and click the Sent tab. Click the message name to access the Sent summary page. See URL in the SMS message body. |
Message name |
SMS message name |
Go to Mobile > Mobile messages and templates and click the Sent tab. |
Mobile number |
Mobile number of the SMS contact (recipient) |
Go to Data > View data. Click the related database and search for the contact. |
Program ID |
ID for the SMS text to join program |
If SMS program is created in SMS Campaign Manager: Go to SMS and group messaging > Campaign manager. Go to Interactive > Interactive programs. Click the pencil icon to display program details. If SMS program is created in Acoustic Campaign with SMPP : Go to SMS and group messaging > SMS campaigns classic. Click the program name to display program details. |
Program name |
Name of the SMS text to join program |
Go to Mobile > Mobile messages and templates and click the Sent tab. Click the message name to access the Sent summary page. |
Source |
Use this field to search by MailingId, RecipientId (for example, MailingId=505324). |
MailingId: Go to Mobile > Mobile messages and templates and click the Sent tab. Hover over the Message name link. A tool tip shows the MailingId. To easily copy and paste the mailing ID, click the message name to access the Sent message summary screen which lists the mailing ID. |
|
|
RecipientId Go to Data > View data. Click the related database. Search for the contact. Click the contact to go to the Edit contact page. In the page URL, you see the recipient ID for that contact (example: recipientId=19107178825). |