• Resolved heyboy789

    (@heyboy789)


    Hi,

    How can i set the popup only open until the “opens count” reach the specified number.

    Let’s say i want the popup to open 20 times/day. When the “opens count” reach the decide number, it will automatically stop opening until the next day.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @heyboy789,

    Thanks for posting!

    There isn’t a built-in way to limit the exact number of times someone views a popup. You’d need to write custom code to do that.

    You can also use our Advanced Targeting Conditions (ATC) premium extension in combination with custom JavaScript to reduce the custom code you’d need to write. I.e., Makes it more convenient.

    For example, ATC lets you run a custom JavaScript function before trying to display your popup. You just need to add the name of your function to your popup’s targeting settings.

    Then before that popup displays, Popup Maker will call your function.

    With ATC, you only need to write code to keep track of the number of opens and set a cookie after 3 opens.

    Basically, your custom JS function would do the following:

    1) Use browser storage to keep a count of how many times your popup opens for your visitor.
    2) Create a cookie that expires in an hour once your popup count gets to 3.
    3) Prevent the popup from opening until the cookie expires.

    If it helps or maybe as an alternative, we have a Scheduling extension where you can display a popup for a specific duration of time.

    You can view our extensions here.

    https://wppopupmaker.com/extensions/

    We hope we understood your question. If you need to follow up, please submit a help request

    https://wppopupmaker.com/support/#submit-a-support-ticket

    Have a great day ??

    Plugin Support Kim L

    (@kimmyx)

    Hi @heyboy789 ,

    I’m going to mark this as resolved as we haven’t heard from you in a while.

    Feel free to create a new thread if you have any other questions.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Popup opens only with specified number of times per day’ is closed to new replies.