Hi @alusion, the “chimpstatic” script should load on every page. Perhaps there is something at the server level preventing it? Or, is it possible it’s been commented out in the file class-mailchimp-woocommerce-public.php?
This script triggers pop-up forms from Mailchimp (if they are activated) and tracks reporting for Campaigns/Automations you have running.
If you’re interested in those features and you’re not able to figure out why it’s not being loaded, we would suggest a fresh uninstall/reinstall of the plugin.
Let us know if you need anything else.
Thanks!
Hmm, I see. I’ll debug something more.
Also.. The filter stated here is crashing the website. Would you mind testing it?
Fatal error: Uncaught ArgumentCountError: Too few arguments to function mailchimp_should_add_script_on_this_page(), 1 passed in /var/www/html/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected
TIA
@alusion thanks so much for pointing that out – it was a mistake in the WIKI article example provided. We’ve updated that just now. There are NO arguments required for this function – you simply return a “true or false”.