The jQuery code on that thread is good but have prerequisites.
Are you sure that you have Google Analytics javascript libraries and Marketo's javascript libraries loaded in the head section of the html?
When you go to that page, or click on submit do you see any javascript error?
Rajesh