Site logo

[Resolved] Cookies for Popup Maker not sticking/saving

Home Forums Support [Resolved] Cookies for Popup Maker not sticking/saving

Home Forums Support Cookies for Popup Maker not sticking/saving

  • This topic has 5 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2154541
    Colin

    Hello, I’m trying to use Popup Maker to show a simple one-time popup on any event (via the Events Calendar plugin) that a user visits on my site. A cookie is suppose to then keep that popup from appearing on any other event pages for a month. I have this working fine on my staging site with the 2021 default theme, but on my live site with my GP child theme in place, and all other plugins the same, the popup loads and loads upon refresh on my test event without the cookie seeming to register and keep it only loading the first time.

    Here are some links to staging, where the popup will only appear once and then not on subsequent refreshes or visits:
    https://ww3.green-wood.com/calendar/
    https://ww3.green-wood.com/event/women-who-walked-ahead-5/

    The Popup Maker cookie is set to occur upon close of the popup window. So if you close out here (live site) and then refresh, it shouldn’t recur, but it seems to be doing so:
    https://www.green-wood.com/event/brooklyn-bridge-at-green-wood-trolley-tour-3/

    Thanks for all your help! -Colin

    #2154563
    Leo
    Staff
    Customer Support

    Hi Colin,

    I really can’t see GP being the issue here.

    but on my live site with my GP child theme in place

    Have you tried using the parent theme to test?

    If it still doesn’t work, we will need to go through some further debugging steps.

    Let me know 🙂

    #2154645
    Colin

    Hi Leo, you’re right, it’s some discrepancy between my child and parent theme. The parent theme on staging works fine. I’m banging my head against a wall trying to figure it out, going deleting the child theme files one-by-one doesn’t seem to be helping. If you have any tips or a guide on how to troubleshoot this I’d be grateful, otherwise I can keep you posted when I figure it out in case this comes up again.

    #2154674
    Leo
    Staff
    Customer Support

    going deleting the child theme files one-by-one doesn’t seem to be helping.

    That is the best way to debug. I’d recommend removing all custom functions and template files at once, make sure it’s all working and the issue is resolved, then add the files and functions back one by one to find the culprit 🙂

    #2158741
    Colin

    Hello Leo, thanks again for your help. In case you’re curious (and in case it helps anyone else), the culprit ended up being the script I’d added to my header for a cookie-script.com Cookie Policy prompt. I should have seen earlier that that might play poorly with a popup plugin that relies on cookies! Making sure that the popup-enabled pages were excluded (for now) from the cookie-script.com-enabled pages did the trick.

    #2159333
    Leo
    Staff
    Customer Support

    Thanks for reporting back!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.