Call tracking with Retreaver
If your SMS asks people to call a phone number instead of clicking a link, you can still track the results. Your call tracking platform sends a webhook to SMSEdge for each incoming call and each converted call. We then mark the message as clicked or as a lead. This guide uses Retreaver as the example. Other call tracking platforms that can send webhooks work in the same way.
A webhook marks the most recent message that your account sent to the caller's number. Keep your SMS campaigns with links in a different SMSEdge account from your call campaigns. If you do not, a call can mark a message with a link as clicked.
Before you start
You need your SMSEdge user ID. To find it, go to Contacts > Unsubscribe and open the Unsubscribe API tab. The value after user= in the URLs is your user ID. You can also ask your account manager.
Track incoming calls as clicks
- In Retreaver, go to Campaigns > New.
- Go to the Webhooks section at the end of the page.
- Select When a call comes in.
- In the URL field, type this URL:
http://edgepxl.com/postback.php?phone=[caller_number_digits]&user_id=<your_user_id>&type=click - Replace
<your_user_id>with your SMSEdge user ID.
Track converted calls as leads
- Create a new webhook.
- Select If call converted.
- In the URL field, type this URL:
http://edgepxl.com/postback.php?phone=[caller_number_digits]&user_id=<your_user_id>&type=lead - Replace
<your_user_id>with your SMSEdge user ID.
Use another call tracking platform
Send a GET request to the same URL when a call comes in (type=click) or when a call converts (type=lead). Put the caller's phone number, with the country code, in the phone parameter. Use the placeholder that your platform has for the caller's number in place of [caller_number_digits].
Need more help? Contact support.