This is temporary solution on version …11
First define in wp-config.php
define('W3TC_DYNAMIC_SECURITY', 'secureword');
<!-- mfunc secureword -->
echo "code";
<!-- /mfunc secureword -->
BUT!!! This is working when i do not use minify in W3TC settings, thats why it is temporary solution. Perhaps minify is deleting <!– …