For those leads where submitting the Cookie is unsuccessful, check whether you see any "visit web page" activities in the activity log. If yes, there is something wrong with your script. If no, there is something wrong with how the cookie is set (which could have many causes). In the latter case, I would recommend opening a support case, including links to the example leads where the cookie problem appears.