Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @sccr410 – Sounds like your cookie is not set to sitewide. Do they open again on refresh as well?

    How do you have the cookies set up? Trigger, Time, Sitewide

    Thread Starter Derek Ashauer

    (@sccr410)

    If i click on the “close” button, it does not popup ever again – exactly as it should. If I click on the link inside the popup, it keeps popping up until I click a close link. If someone has clicked a link within the popup, then the popup has worked and shouldn’t keep showing to the user.

    Here are my settings for the popup: http://screencast.com/t/xg0736dy

    Plugin Author Daniel Iser

    (@danieliser)

    @sccr410 – Currently this would require a bit of custom JS to set the cookie on link clicks.

    I may consider moving some features from our Analytics extension to the core such as a new trigger for the cookie of conversion, and a way to choose what counts as a conversion, such a clicking a link. That would make this simple in the future. For now though requires the custom JS.

    This is close to what you need http://docs.wppopupmaker.com/article/83-set-a-different-cookie-time-on-form-submission

    You would simply change the first line to

    jQuery('#popmake-123 a').on('click', function () {

    Hope that helps.

    Thread Starter Derek Ashauer

    (@sccr410)

    Is there any way to make this more generic so custom JS doesn’t need to be added for every single popup? I don’t want to have to explain this to the client – just wanted set it and no matter what client does it will work for all future popups.

    Plugin Author Daniel Iser

    (@danieliser)

    @sccr410 – Technically yes, use these as the top 2 lines.

    jQuery('.popmake a').on('click', function () {
        var $this = jQuery(this).parents('.popmake'),

    But be aware no filtering means that this will work for any link in any popup. So if in the future you can’t figure out why a popup won’t come back up remember this is there 😉

    Hope that helps.

    Thread Starter Derek Ashauer

    (@sccr410)

    Seems to have done the trick, thanks!

    Plugin Author Daniel Iser

    (@danieliser)

    @sccr410 – Awesome! Happy I could help you out. Btw, If you have a moment, I would very much appreciate if you could quickly rate the plugin, just to help us spread the word.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Set session on link within popup’ is closed to new replies.