Lead Generation with Cookies in WordPress

Try using the jQuery Cookie plugin

You can set a cookie to start with that could be called InfoSubmitted with value of ‘No’ and when they submit their info it changes to ‘Yes’

To set the cookie first make sure jQuery and the Cookie plugin are installed and then use this:

jQuery.cookie('InfoSubmitted', 'No');

Once the user submits the form then change the cookie to Yes:

jQuery.cookie('InfoSubmitted', 'Yes');

Once you have that working then you would need to check what value the cookie has.

if (jQuery.cookie('InfoSubmitted') == "No") {
    //do not show information

} else {
    //show information
}

This is all using jQuery and Javascript. You could possibly use PHP to read the cookies set by the plugin and use them in your PHP code