• Resolved Starhorsepax2

    (@starhorsepax2)


    It’s basically a sub domain pointing to the page that the cookie doesn’t work on. Is there any way to get the cookie working on the subdomain?

    The page I need help with: [log in to see the link]

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

    (@kimmyx)

    Hi @starhorsepax2,

    The cookie needs to be added to the popup that is installed in the subdomain.

    Do you have Popup Maker installed on both sites? Could you send us more information or screenshots of your popup settings?

    You can also send us a ticket via Support Request – Popup Maker if you wish to share more information privately.

    We’ll wait for your message!

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    There is only one install site. That is the /online site. The other is just pointed at it. I am also contacting your main support just in case the answer requires more than the forum can provide (I was thinking it might need a code snippet or something to tell it to make a cookie for the pointed domain)

    Plugin Support Kim L

    (@kimmyx)

    Hi there,

    We’re marking this as closed as we’re already in correspondence via email.

    For everyone encountering the same issue, there’s a filter you can tweak and add to your child theme’s functions.php or code snippets plugin.

    /** Popup Maker pum_cookie_domain filter */
    add_filter( 'pum_cookie_domain', function() {
    	return ".yourawesomedomain.com"; // Note the . prefix.
    } );

    NOTE: This filter will affect all cookies for all popups.

    You can check out our guide on custom PHP here: Getting Started With Custom PHP

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site with 2 domain names cookie problem’ is closed to new replies.