Discussions
Issues sending UTM parameters in a link via SMS Send API
Hello, we're building an automation campaign that sends an SMS message with a link to our website to all leads we sign up and share their phone number. We have added UTM parameters to the URL in the message so we can track number of visits to our site from this campaign.
However I'm noticing the messages are going out with the link to our site, but the UTM parameters are no longer there. When I use the Dialpad API Reference to test sending the message, with the same message and full URL with UTM parameters, it does go through correctly. But when sending the message via an API call using JS, the UTM parameters are removed.
Any ideas? We also tried using Bit.ly to share the URL that way (with UTM parameters) but a lot of carriers mark shortened URLs as spam, so that also isn't a good solution.