# Generate Shortened Bitly Links

**GoAffPro** provides you with the option to shorten affiliate referral links as Bitly links.

To shorten affiliate links as Bitly links, go to the **Advanced** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/laFV2oshdEGnaNEd3P9s" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Generate Shortened Links section.

<figure><img src="/files/ztgZmmZle5jvRbQpAqYb" alt=""><figcaption><p>Generate Shortened Links</p></figcaption></figure>

Now, select the **bit.ly** shortener option.

<figure><img src="/files/6z6v2irgCNjHYKk8z83G" alt=""><figcaption><p>Select the bit.ly shortener</p></figcaption></figure>

Next, generate the Bitly generic access token.

<figure><img src="/files/cU4IuQB3WrhvD2BWKSY4" alt=""><figcaption><p>Generate the Bitly generic access token</p></figcaption></figure>

#### **To generate the Bitly generic access token:**

Log in to your Bitly account and go to the Settings section.

<figure><img src="/files/ImyNlGSpAmsRJgootVhS" alt=""><figcaption><p>Log into your Bitly account > Go to the Settings section</p></figcaption></figure>

Now, go to the API section.

<figure><img src="/files/MmuieKeBT7BCSIIB07V6" alt=""><figcaption><p>Go to the API section</p></figcaption></figure>

Here, enter your account password.

<figure><img src="/files/LgEic01lhpGm5phmDbfr" alt=""><figcaption><p>Enter your account password</p></figcaption></figure>

Next, click on **Generate token**.

<figure><img src="/files/l9Oyxg4G3Y4toEbyD3uU" alt=""><figcaption><p>Click on Generate token</p></figcaption></figure>

After this, copy the access token.&#x20;

<figure><img src="/files/3UhxnpAKV8GwmKTWBz38" alt=""><figcaption><p>Copy the access token</p></figcaption></figure>

Finally, paste the generic access token in the Generate Shortened Links section of the GoAffPro app and click on **Submit**.

{% hint style="info" %}
The referral links of all new affiliate registrations will automatically be shortened as Bitly links. For existing affiliates, the referral link will have to be shortened manually using this [guide](https://docs.goaffpro.com/how-tos/generate-shortened-bitly-links/generate-bitly-links-for-existing-affiliates).
{% endhint %}

<figure><img src="/files/fCZFD2UbgBmgDpZTkVFo" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

<details>

<summary>Bitly links FAQ</summary>

**Can affiliates shorten their referral links themselves?**

In GoAffPro, only the merchant can shorten the affiliate's referral link. Your affiliates can shorten their referral links using their own Bitly account.

If your affiliates decide to shorten their referral link using Bitly, the referral link tracking will still work.

**How to direct Bitly links to a different page of my store?**&#x20;

To direct Bitly links to another page of your store, reset the existing Bitly links of affiliates and shorten them again.

It is recommended that you [set up](https://docs.goaffpro.com/how-tos/set-default-referral-link) which page you want the referral links to open before integrating Bitly.

</details>

{% embed url="<https://youtu.be/OrOlCFSS1HM>" %}
Generate Shortened Bitly Links
{% endembed %}


---

# 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.goaffpro.com/program-settings/generate-shortened-links/generate-shortened-bitly-links.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.
