• Resolved rafalwebest

    (@rafalwebest)


    Hi,
    have you thought about changing Local storage to Session storage in /assets/js/easy-notification-bar.js? Sometimes the content of the notification is valid for a longer period of time and the user, after closing early, does not see it in the future.

Viewing 1 replies (of 1 total)
  • Plugin Author wpexplorer

    (@wpexplorer)

    Hi,

    This is AJ the plugin developer. In my opinion if the user decides they want to close the notice then it should remain hidden regardless of the time period.

    My issue with Session Storage is if that if you visit the same website everyday you have to close the notice everyday and so it can be very annoying.

    The alternative would be to use cookies, but I didn’t want to use cookies in order to ensure there isn’t any possible GDPR concerns.

    That said, whenever you update/change your notice on the site it will rename the localStorage ID so the notice will show up again. So lets say if you are running a sale and the initial notice was “Get 50% off our products” you can always update it later to say “Get 50% off our products – Only 2 days left!” that way it will display for anyone that had previously closed it.

    I’m always open to updating things though so please let me know if you have any further feedback, thanks!

    Perhaps having the option in the Customizer to select between local and session storage is something that users would find helpful?

    – AJ

Viewing 1 replies (of 1 total)
  • The topic ‘Local storage vs. Session storage’ is closed to new replies.