- Print
- DarkLight
Is it possible to set and delete cookies?
Article Summary
Share feedback
Thanks for sharing your feedback!
Cookies may be used for switching display languages and A/B tests.
By using [JS Step], you can set the Cookie value as follows:
document.cookie = 'cookie_name=cookie_parameter';
document.cookie = 'lang=en'; /* Common language settings */
If you want to delete the cookies that have been set, it's possible with the following code:
document.cookie = 'cookie_name=; max-age=0';
Was this article helpful?