Store interaction state in the cookie

It would be great to store interaction states in the cookie,

for example: someone clicked on a block article that has a "new" tag, this tag is removed and when the user visits the same post again, it's not shown.

Also, it would be nice if that it's possible to send that saved cookie to some custom code. Let's say user clicked on a button , and then I hook this cookie to a custom audio player script, which knows either to keep playing the audio or to pause it.

And then it would be great to link it with the GDPR idea, to be able to opt in or out of specific cookies.

And also to integrate an in built option for Do Not Track.

  • Dmitry Ratnikov
  • Nov 19 2020
  • Reviewed