> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/set-cookie-duration/set-cookie-duration-for-affiliate.md).

# Set Cookie Duration for Affiliate

**GoAffPro** provides you with the option to set the cookie duration for an affiliate.

To set the cookie duration for an affiliate, go to the **All Affiliates** section in the **Affiliates** tab of the GoAffPro admin panel.

<figure><img src="/files/aJOHgxeWhrGJ6hcL5nG3" alt=""><figcaption><p>Affiliates > All Affiliates</p></figcaption></figure>

Here, click on the affiliate name.

![Click on the affiliate name](/files/0c9C2vVFaGlyZCYYgtGO)

This will open up the affiliate's profile.

![Affiliate Profile](/files/2fG04QzN3zkbCIMFvlQ6)

Now, go to the Settings tab.

![Settings ](/files/7g4k4H1B3bV9hzXRKlBE)

Here, go to the Cookie Duration section.

![](/files/pO0TFgVp0dNdaHzbhZQJ)

![Cookie Duration](/files/eI73ubO0HbfFNaOdXkrj)

Now, click on **Change**.

![Click on Change](/files/fQljohzKZtkAR8k7Lcqt)

After this, set the duration.

![Set the duration](/files/lN0YEooV7HxfxTrHQZh0)

Finally, click on **Submit**.

![Click on Submit](/files/XIhCGfXAOFypd6WuZFiA)

The newly set cookie duration will get saved for the affiliate.

![](/files/SxVpBAGW3NOndBFRs8Qt)

{% embed url="<https://www.youtube.com/watch?v=mjK7NovnNxg>" %}
Set Cookie Duration for Affiliate
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/set-cookie-duration/set-cookie-duration-for-affiliate.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.
