# Track affiliate performance with GA4

To set up this feature, navigate to **Settings** > **Affiliate** **link** and click **Set up** button in the **Add UTM to affiliate links** section.&#x20;

<figure><img src="/files/qbVJw4DH6oje5eL77aN6" alt=""><figcaption></figcaption></figure>

Simply input your desired parameters, and the app automatically generates a ready-to-use affiliate link with UTM tags. This way, you can measure the success of your campaigns and make data-driven decisions to boost your affiliate marketing strategy.

<figure><img src="/files/XxikuFdf2Px9MFV4xC9u" alt=""><figcaption></figcaption></figure>

BixGrow provides three customizable UTM tracking fields to help you track and analyze affiliate traffic effectively:

* **Campaign Source**: This field identifies your affiliates. We recommend using the variables `{affiliate_name}`, `{affiliate_email}`, or `{referral_code}`, as these are unique to each affiliate.
* **Campaign Medium**: Use this field to specify the type of traffic. Common examples are "affiliate" or "partner."
* **Campaign Name**: This field is typically used to identify your program. We recommend using the variable `{program_name}`, or you can enter a specific campaign name to differentiate it from other campaigns in your store.

Once saved, a standard affiliate link with UTM parameters will look like this:

<figure><img src="/files/NTDNyx4MwoorBamtMnzX" alt=""><figcaption></figcaption></figure>

You can edit or delete this setup at any time by clicking the pen icon or the three dots next to the example link.

After setting up UTM tracking, here’s how a default affiliate link will look. You also have the option to [shorten](/affiliate-links/manage-affiliate-links/auto-shortened-link.md) it, making the link cleaner and more professional for affiliates to share.

<div align="left"><figure><img src="/files/eszQrI8hBpg3IE9M0Vmo" alt=""><figcaption></figcaption></figure></div>

From your UTM link setup in BixGrow, you can connect to your **Google Analytics** account to access detailed statistics about traffic generated by affiliate links. In Google Analytics, you can also filter the data based on **Source**, **Medium**, or **Campaign**, allowing you to compare performance and gain deeper insights into your affiliate program's effectiveness.

<figure><img src="/files/38nSIxwUuUn3caqBpee3" alt=""><figcaption></figcaption></figure>


---

# 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.bixgrow.com/report-and-analytic/track-affiliate-performance-with-ga4.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.
