# Custom cookies

Custom cookies can be useful in the following situations:

* Extracting data when product pages or prices are only available after logging in to the supplier’s website
* Changing the default currency or shipping address

### How to set custom cookies

1. Open the product page on the source website and configure all necessary settings (e.g., log in, select currency, set shipping address).
2. Refresh the page to ensure settings are applied.
3. Open your browser’s developer tools (usually by pressing **F12**).
4. Go to the **Network** tab.
5. Find and select the product URL in the left-hand panel.
6. In the right-hand panel, select the **Headers** tab.
7. Scroll down to the **Request Headers** section and locate the **Cookie** field.
8. Copy the full cookie string.
9. In the **EI Settings**, navigate to **Extractor > Settings > Custom Cookies**, and paste the cookie string for the appropriate domain.

<figure><img src="https://2204606725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJHhS3qgDA1lCM6b1Nw%2Fuploads%2FjP7qnw501zqVzyLmsWbq%2Fimage.png?alt=media&#x26;token=d22f4ede-8197-42dd-92eb-1ad940c8f985" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2204606725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJHhS3qgDA1lCM6b1Nw%2Fuploads%2F6IL8kHaw4IwmyDi4ENRv%2Fimage.png?alt=media&#x26;token=2706d224-927b-4408-b3f2-e36edc37084c" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Notes:**

* ⚠️ Not all websites support cookie-based data extraction.
* ⏳ Cookies may expire over time. If extraction stops working, repeat the steps above to refresh your cookie settings.
  {% endhint %}
