 <p>Try this:</p> <p>In survey flow:</p> <pre><code>human = 0 </code></pre> <p>Question html:</p> <pre><code>&lt;a href="http://vpf2.cise.ufl.edu/Classic/Interaction/Prototype/22318?username=" id="human" target="_blank"&gt;Click here&lt;/a&gt; </code></pre> <p>JavaScript:</p> <pre><code>Qualtrics.SurveyEngine.addOnload(function() { $('human').observe('click',function(event) { Qualtrics.SurveyEngine.setEmbeddedData("human", "1"); }); }); </code></pre> <p>Note: In Qualtrics $ refers to prototypejs, not jquery. </p>