When I deactivate the caching plugin it works. The plugin I use is WP Rocket and the only solution I found is this:
https://docs.wp-rocket.me/article/1596-can-i-exclude-a-shortcode-from-the-cache
I have Cache Lifespan at 10 hours. Since WP Rocket doesn’t support Fragment Caching there are not many things I can do..
I have tried other plugins and work fine. Also, I have seen that other users have the same issue with Optin Cat. Are you planning to fix it or provide a workaround?