# UTM Codes

UTM codes can be attached to the platform link to include certain information about the newly registered user.

Platform supports 3 code types:

1. **utm\_source** — the source of the traffic
2. **utm\_medium** — the medium of the traffic
3. **utm\_campaign** — the campaign of the traffic. It assigns a certain billing plan to the newly created account.

**Link with atached codes should look like this:**

* <https://app.docstudio.com/>?utm\_source={source}\&utm\_medium={medium}\&utm\_campaign={billing\_plan\_UUID}

*{source}*, *{medium}*, and *{billing\_plan\_UUID}* should be replaced with needed values.

{% hint style="info" %}
If there is a default billing plan on the instance, it will be overridden by the value passed in the utm\_campaign code. User should complete the registration on the platform via such link for codes to take effect.
{% endhint %}

**If you want to add these codes to an envelope initiation link, it should look like this:**

* <https://app.docstudio.com/shared-envelope/create>?code=09c8a0ce572c40e196b2f1782b7ebe01\&redirectUrl=\&utm\_source={source}\&utm\_medium={medium}\&utm\_campaign={billing\_plan\_UUID}

**For an envelope initiation iframe, it should look like this:**

```
<iframe width="100%" height="100%" src="https://app.docstudio.com/shared-envelope/create?code=09c8a0ce572c40e196b2f1782b7ebe01&redirectUrl=&utm_source={source}&utm_medium={medium}&utm_campaign={billing_plan_UUID}" frameborder="0"></iframe>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.docstudio.com/user/envelopes/utm-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
