Hello @euforie,
Hope you’re doing well today! Thank you for reaching out to us.
I was able to import the pop-up you’ve shared to my lab environment, and once it was published, it worked right away without any issues. Ref: https://monosnap.ai/file/dTlhh770sX95B7CZClKc486LUlI0aC
Further, I tried to replicate the issue on your website and noticed that the popup should trigger immediately on the Homepage (based on the import json), yet it didn’t trigger. Upon checking the Web-inspector >> console there was an error related to Hustle, please refer to the screenshot: https://monosnap.ai/file/5fiQ167NV6Zekb2Q2Si3sq38zKz5fy which seems to be causing the popup to not display on the frontend.
Since the issue is specific to your website and the popup itself worked fine, could you please confirm if there are any other popups created in Hustle which work fine? And if you’re using the latest version of the plugin?
If so, to further narrow down the issue, Could you please try re-installing the plugin and check if that resolves the issue?
If not, you will need to further proceed with conducting a plugin conflict test after securing a full backup of your site? It will be a good idea to run this test on the staging site so that the live site is not affected.
A plugin conflict test is deactivating all plugins on the site except for Hustle and switching to a default WordPress theme like TwentyTwenty Five and checking if the issue is replicated. If not, you can revert to the original theme and enable each plugin one at a time until you replicate the issue again. This will help narrow down the conflict plugin/theme with Hustle.
Here is a guide to help you with the conflict test: https://wpmudev.com/docs/getting-started/getting-support/#conflict-test
Please let us know the results so that we can troubleshoot the issue further.
Kind Regards,
Saurabh
Thankyou for your response, i see complianz (cookie) is blocking the popup. Do you know how i can resolve this part?
Hi @euforie,
Could you please try this snippet and see if it works fine?
<?php
add_filter( 'cmplz_whitelisted_script_tags', function( $allowed_script_tags ) {
$allowed_script_tags[] = 'hui_scripts';
$allowed_script_tags[] = 'hustle_front';
return $allowed_script_tags;
}, 10, 1 );
You can implement the above code using mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins
Regards,
Nithin
Its working now, thankyou!