Title: Cookie Condition
Last modified: July 23, 2022

---

# Cookie Condition

 *  Resolved [Matt Lovett](https://wordpress.org/support/users/mdeluk/)
 * (@mdeluk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/)
 * Hi
 * I am trying to set a visibility to condition to only display the pop up when 
   cookie “_iub_cs-123” exists (cookie consent solution cookie).
 * The name matches 100% perfectly but the pop up does not show up when the cookie
   exists.
 * Any ideas why?

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

 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15852303)
 * Hi [@mdeluk](https://wordpress.org/support/users/mdeluk/)
 * Sorry to hear you are having this issue.
 * Could you please send a screenshot of your Hustle conditionals and we can try
   to replicate it on our end using the same conditionals?
 * Please, upload the screenshot to Google Drive and share the link here.
 * Best Regards
    Patrick Freitas
 *  Thread Starter [Matt Lovett](https://wordpress.org/support/users/mdeluk/)
 * (@mdeluk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15852309)
 * Yeah sure here you go:
 * [https://drive.google.com/file/d/1XgFUtz8Lm8y4m0NHxDaVzdCkHok54sX2/view?usp=sharing](https://drive.google.com/file/d/1XgFUtz8Lm8y4m0NHxDaVzdCkHok54sX2/view?usp=sharing)
 * I tried even doing it with a Google Analytics cookie but had the same issue.
 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15853312)
 * Hi [@mdeluk](https://wordpress.org/support/users/mdeluk/),
 * I checked this on a test website using Google Analytics cookies but couldn’t 
   replicate the issue. Can you please confirm if you tried using _ga?
 * Could you please explain how the cookie consent solution cookie is set on your
   website? Is that once the member accepts the conditions using a pop-up or form?
   Wouldn’t you mind sharing a screenshot of the cookies on your contact page?
 * I hope the following article helps: [https://www.cookieyes.com/blog/how-to-check-cookies-on-your-website-manually/](https://www.cookieyes.com/blog/how-to-check-cookies-on-your-website-manually/)
 * We look forward to hearing back from you and resolving this issue asap.
 * Kind Regards,
    Nebu John
 *  Thread Starter [Matt Lovett](https://wordpress.org/support/users/mdeluk/)
 * (@mdeluk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15854050)
 * Hi Nebu
 * Thanks for you reply. So yes this is once a user accepts the pop up, you can 
   see it in action on the website here: [https://au.wowfreebies.com](https://au.wowfreebies.com)
 * Here is a screenshot of the cookies being placed on the contact page:
    [https://drive.google.com/file/d/1-uqtkcivR0Sv99A1aFHpdi1gqyrjuXZ8/view?usp=sharing](https://drive.google.com/file/d/1-uqtkcivR0Sv99A1aFHpdi1gqyrjuXZ8/view?usp=sharing)
 * Thanks.
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15856006)
 * Hi [@mdeluk](https://wordpress.org/support/users/mdeluk/)
 * I’ve visited the site and I don’t even see any Hustle markup in page content 
   which is unexpected.
 * Are you using any caching and/or asset optimization plugins on site and/or server-
   side cache?
 * If yes, would you try clearing all cache and – if there is any JS/CSS optimization
   active, temporarily disable it?
 * If that makes it work, then we could try to find out how to “tweak” those settings.
   If not, then would you please export the popup in question and share it with 
   us to test?
 * To share popup, put export code on pastebin.com or your Google Drive or Dropbox(
   or similar service) and just share direct download link in response here.
 * Best regards,
    Adam
 *  Thread Starter [Matt Lovett](https://wordpress.org/support/users/mdeluk/)
 * (@mdeluk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15860353)
 * Hi Adam
 * That is odd, its possible its been moved inside a JS/CSS file, but to clarify
   taking away the cookie requirement causes the popup from Hustle to show the code
   is there.
 * I am using WP Rocket for optimisation. I have tried clearing the cache and also
   I added in some exemptions to Hustle.
 * CSS safelist:
    /wp-content/plugins/wordpress-popup/(.*).css
 * Excluded JS:
    /wp-content/plugins/wordpress-popup/(.*).js
 * You can see the export code here:
    [https://pastebin.com/svCZPf2C](https://pastebin.com/svCZPf2C)
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15872038)
 * Hi [@mdeluk](https://wordpress.org/support/users/mdeluk/)
 * Thank you for the information.
 * For some reason I can’t import the attached JSON, can you download it once again
   and upload it to Google drive instead?
 * Best Regards
    Patrick Freitas
 *  Thread Starter [Matt Lovett](https://wordpress.org/support/users/mdeluk/)
 * (@mdeluk)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15880420)
 * No problem Patrick here you go:
 * [https://drive.google.com/file/d/14clzbRQraCgHALgRf6AGPOl8k357MfUZ/view?usp=sharing](https://drive.google.com/file/d/14clzbRQraCgHALgRf6AGPOl8k357MfUZ/view?usp=sharing)
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15888134)
 * Hi [@mdeluk](https://wordpress.org/support/users/mdeluk/),
 * Thanks for sharing the export. I tested it at my test site, and it worked out
   of the box. The Popup is displayed based on the cookie when tested.
 * I checked your website and could notice the mentioned cookie is present. Since
   the plugin isn’t enabled on your website, we couldn’t check much on how it behaves
   on your site. Could we also know on which exact page you are looking to target
   the popup? Asking specifically due to the following condition:
 * > [Screenshot at 17:45:27.png](https://imgur.com/BlVKjtH)
 * However, this might be more like a conflict on your website. Could we know whether
   you tried to rule out whether the issue isn’t due to any existing plugin causing
   a conflict?
 * Please check the following flowchart on how to run a conflict test:
    [https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif](https://wpmudev.com/wp-content/uploads/2015/09/Support-Process-Support-Process.gif)
 * Please do let us know how a conflict test goes. Looking forward to your response.
 * Kind Regards,
    Nithin
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15934967)
 * Hello [@mdeluk](https://wordpress.org/support/users/mdeluk/) ,
 * We haven’t heard from you for over a week now, so it looks like you don’t have
   any more questions for us.
    Feel free to re-open this ticket if needed.
 * Kind regards
    Kasia

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

The topic ‘Cookie Condition’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 14 replies
 * 6 participants
 * Last reply from: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/cookie-condition/#post-15934967)
 * Status: resolved