Query parameters such as UTM parameters are a fantastic way to understand how your marketing links are performing. Whether it is to understand which social media channels are driving the most traffic, or to understand which campaigns are the most effective, query parameters are a great way to do just that. With Dub, you can add UTM parameters using our UTM builder before shortening them. This gives you the best of both worlds – the benefits of using UTMs but still have a short, brandable, and easily shareable links. But what about after you have shortened your links? For that, you can leverage our parameter passing feature.Documentation Index
Fetch the complete documentation index at: https://dub.co/llms.txt
Use this file to discover all available pages before exploring further.
How does parameter passing work?
With parameter passing, you can attach UTM parameters – or any other query parameter – to your short link and they’re passed on to the destination URL. For example, you can pass autm_source parameter with the value website to a short link like d.to/passthrough and they’re passed on to the destination URL.
| Short link | Destination URL |
|---|---|
| d.to/passthrough | dub.co/changelog/pass-url-parameters?ref=dub |
| d.to/passthrough?utm_source=website | dub.co/changelog/pass-url-parameters?ref=dub.co&utm_source=website |
| Short link | Destination URL |
|---|---|
| d.to/passthrough | dub.co/changelog/pass-url-parameters?ref=dub |
| d.to/passthrough?ref=dub.co | dub.co/changelog/pass-url-parameters?ref=dub.co |