Coockies / subscribe

2 replies·opened Oct 27, 2020
J
JcdeWeverOct 27, 2020

Hello,

I have 2 questions regarding the coockie pupup modal and the subscribe popup.

Is it possible to set a time to the coockies, when agreed so that when the user returns to the site it doesnt show again, lets say till he cleans his cashe.

Is it possible to set the subscribe popup to not show anymore after the user has subscribed?

Ill await you're answer with patience.

S
SemiColonWebSTAFFOct 28, 2020

Hello,

  1. Simply find the following code in the js/plugins.lightbox.js File:
Cookies.set( elTargetValue, '0' );

and replace it with:

Cookies.set( elTargetValue, '0', { expires: 365 } );

365 is in Days. If you are using the js/plugins.js or the js/plugins.min.js File, you will need to Update the above codes in these Files as well.

  1. Unfortunately, this is not supported out of the box and you will need to make further customizations manually according to your needs.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

J
JcdeWeverOct 29, 2020

Thank you very much for the quick reply / help!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard