# Reading cookies

**URL:** <https://forum.ideta.io/t/reading-cookies/61>\
**Category:** Integrations\
**Created:** [December 6, 2021, 3:21pm UTC](https://forum.ideta.io/t/reading-cookies/61 "2021-12-06T15:21:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![yanis.kerdjana](https://avatars.discourse-cdn.com/v4/letter/y/71e660/32.png) [@yanis.kerdjana](https://forum.ideta.io/u/yanis.kerdjana)\
**Post date:** [December 7, 2021, 10:59pm UTC](https://forum.ideta.io/t/reading-cookies/61/2 "2021-12-07T22:59:06Z")

</div>

In our platform, you can store cookies values into variables. But localStorage and Javascript variables as well.

In order to be able to read cookies, you must first follow this guide :

> [@Linking URLs using parameters in the publish tab](https://forum.ideta.io/t/64):
>
> I am almost ready to publish my bots and I would like to create some parameters in order to link variables and URLs together. Then, I also need to check that the variables have the right value stored. How can I do this using the parameters in the publish tab ?

Once it works, go back to the Publish section and enter the name of the cookie and match it with the variable where you want to store it. Here you can also choose from cookie, localStorage or a JS variable (the info has to be in window.VAR\_YOU\_WANT\_TO\_READ).

 ![Capture d’écran 2021-12-07 à 23.56.12](https://europe1.discourse-cdn.com/flex017/uploads/ideta/original/1X/296a897d3bf1e5427446cde87c34cb242a971081.png)

Once the script is installed on the page where the cookie is, you will see the value appears at the start of the conversation in the cockpit :

 ![Capture d’écran 2021-12-07 à 23.43.03](https://europe1.discourse-cdn.com/flex017/uploads/ideta/original/1X/382eeb2a671930e42c9c325b1cea87fab0720e94.png)

---

_[View the full topic](https://forum.ideta.io/t/reading-cookies/61)._
