Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Damian

    (@timersys)

    You need to add some javascript to make custom links close on conversion.

    Check https://gist.github.com/timersys/7facec9c80935a0df1c6

    Thread Starter EnjoyVacations

    (@enjoyvacations)

    Thanks, one question do we add this to one of the plug-in files?

    Plugin Author Damian

    (@timersys)

    No , never or it will get overwrited on plugin updates.
    Add it to your theme files

    Hi, I have a similar issue with a popup that keeps coming back. The links in my popup reload the page with a $_POST variable that determines the layout… but the choice doesn’t seem to cache because the popup comes back when the page reloads until I click the close button.

    I tried the JS function above and used the post ID of my popup but I still get the same result. BTW, I think that gist snippet should be ‘#spu-‘+spu_id in this line… ?

    jQuery('#'+spu_id+' a:not(".spu-close-popup")').on('click', function(){

    In the settings I have conversion set to yes and debug mode off. Any thoughts?

    Plugin Author Damian

    (@timersys)

    HI Brooksdc you are right about the gist, thanks I just fixed it.
    Do you see any error in your console? Enable debug mode and share your url so I can check

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Close on Completion’ is closed to new replies.