# Creating Tracking Codes

Polyflow uses UTM Codes to track marketing campaigns & conversions to blockchain events.

## Creating a tracking link

### **🌍 Prepare the link you want to track**&#x20;

This should be a link to your Web3 app. In this guide, we'll use Uniswap as an example. The link to their app would be <https://app.uniswap.org>.

### 📜 Add the tracking code

To add your tracking code, put a question mark at the end of your link, followed by the UTM tracker you wish to use. If you wish to use more trackers, put an ampersand (`&`) symbold between the trackers.

For example, if we're tracking a campaign called `paid-ads-2`  on Twitter, we would create the followng link:

```
https://app.uniswap.org/?utm_campaign=paid-ads-2&utm_source=Twitter
```

By sharing this link on Twitter - all clicks going through that link will be attributed to that campaign.

### 🧩 Available Tracking Codes

**utm\_campaign**\
A unique identifier for certain marketing or growth efforts of your team. Can also be used as a referral identifier for sales.\
\
**utm\_medium**\
The type of channel your users reached your site. e.g. "social-media", "ppc", "organic", "email", "affiliate"\
\
**utm\_source** \
Used to track the source of your traffic. Common values include "twitter", "linkedin", "facebook", "email", "google", "ads"\
\
**utm\_term**\
Used specifically for paid ads. Use the keyword of the ad in the term.

\
**utm\_content**\
Used to differentiate the contents inside emails or campaigns. For example if you have mutliple calls to action in a single email, you can discriminate here - e.g. "referrals-email-cta-2"


---

# 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://docs.polyflow.dev/polyflow/creating-tracking-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.
