English EN
Help center
Help center
Help center API Reference Soon

Reset existing affiliate cookie

You want to ensure that no affiliate assignments are active when someone visits your shop? In this article, we explain what an affiliate cookie is, why resetting it can make sense in certain situations, and how to do it.

On this page

When someone clicks an affiliate link, an affiliate cookie containing the partner ID is stored in the customer’s browser. This ensures that purchases can be attributed to the correct affiliate partner, even if the purchase doesn’t happen immediately, but within 30 days of the click.

In some cases, it may be useful to reset an affiliate cookie to ensure correct and fair attribution.

For example:

  1. When customers are directed to your product from your own website.
  2. When customers are directed to your product via your own newsletter.

You can reset an affiliate cookie by modifying the affiliate link to use ?aref=0 instead of the actual affiliate ID. This will overwrite the cookie with an invalid partner ID, preventing the original affiliate from being credited for later purchases.

Here’s an example of how to adjust an affiliate link to reset the cookie:

Example: myshop.tentary.com/p/ABCDEF?aref=12345 will change to
myshop.tentary.com/p/ABCDEF?aref=0

Last updated October 7, 2025

Start typing to search.