• Resolved lisa.moore

    (@lisamoore-1)


    I’ve tried running a popup on my site’s home page (https://trackvia.com), and have set a rule in the advanced targeting extension to not show my popup on mobile devices.

    When I publish the change, everything seems to work fine. If I go back to my home page using a mobile device after an hour or so, the popup suddenly appears, filling the entire screen and making the site inaccessible.

    Why does the advanced targeting extension “forget” its settings after a brief period? I’ve tested this scenario multiple times in the last few days with the same outcome.

    https://www.ads-software.com/plugins/popup-maker/

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

    (@danieliser)

    @lisa.moore – It sounds like your site is using a heavy caching layer for performance? v1.1.0 of the ATC extension is nearly done which will resolve this issue fully and work completely with heavy cache servers.

    Sorry for this inconvenience.

    I may be able to write a quick piece of JS code that you can use in place of ATC for the time being that will on non-mobile sizes trigger the popup. We are moving all logic checks into JS as PHP isn’t processed on these types of Cache Heavy servers.

    Thread Starter lisa.moore

    (@lisamoore-1)

    Daniel,

    If you’re willing to send me a quick piece of JS code to fix the problem, that would be most appreciated.

    Plugin Author Daniel Iser

    (@danieliser)

    @lisa.moore – Sure no problem. Let me do some research to see the most effective way without a lot of extra code.

    Thread Starter lisa.moore

    (@lisamoore-1)

    Daniel,

    Any word on the fix for this?

    Plugin Author Daniel Iser

    (@danieliser)

    @lisa.moore – sorry, yes I believe we can use something like this.

    if( !( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) ) {
        setTimeout(function () {
    	jQuery('#popmake-123').popmake('open');
        }, 2000); // 2000 is 2 seconds.
    }

    Need to tweak it to match your initial setup likely, change 123 to match the ID of your popup, 2000 to match your delay. Let me know and we can make any tweaks needed.

    Plugin Author Daniel Iser

    (@danieliser)

    @lisa.moore – Closing this ticket due to inactivity. If your still having an issue post here and we will continue troubleshooting.

    Please take a moment to rate and review the plugin and or support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Advanced targeting suddenly stops working on mobile’ is closed to new replies.