# 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="/files/t4O79KPohqhDhdtwZ4dQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0oA3LM4lRvWSPX6yq02q" 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 %}


---

# 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://ei-docs.keywordrush.com/custom-cookies.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.
