Cookie logged in status Discourse / Optinmonster

Im trying to figure out if it’s possible to hide a optin bar (subscribe bar/Optinmonster) for users that are logged in.

So if users are logged in they shouldn’t see the bar. I can set these values in Optinmonster (cookie name +/or cookie value)? Does any of you know the solution?

Here is a screenshot:

Thanks in advance!!!

You can hide it with CSS for logged in users, would that work for you?


Ah perfect it works :slight_smile: Thanks!

This works:

.[class] {
  display: none !important;

.anon [class] {
  display: inline !important;

Replace [class] with your own.