Adding post title as hidden form input on subscribe form

I added this line to my subscribe form so that I can know which post caused a new member to sign up:

I’d rather add this to the member note…is data-members-note supported? as a form input?

This is the code:

<input data-members-note type="hidden" value="{{title}}" />