Cookies Plugin | WordPress.org

Moderator
Steve Stern

(@sterndata)

Support Team Volunteer

What do you mean by ‘collect those cookies’?

Steve,
I apologize for the typo. I am trying to find a way to collect cookies when a person visits my website. I am using hubspot CRM along with their live chat feature, but I don’t know if they have a collect cookies feature or if I have to use a different plugin. I don’t know the cookies plugins well enough to guess which one is the best.

Depends on what you are trying to accomplish.
At the basic level, you need to use SetCookie :
https://html.com/resources/cookies-ultimate-guide/#Implementing_Cookies_on_a_Technical_Level

https://www.w3schools.com/js/js_cookies.asp

NO, Set:Cookie is the method used by HTTP to ………..set a cookie! Lol
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

Here’s an easy tutorial on how to set -> get cookies using the functions file in your theme :
https://www.wpbeginner.com/wp-tutorials/how-to-set-get-and-delete-wordpress-cookies-like-a-pro/

Thank you so much for your help.



Source link