<input type="text" name="FirstName" onclick="timeTracker._recordStartTime();" value="" dojoType="dijit.form.TextBox" id="FirstName"/>
<br /> <br /><br /><br />
<button dojoType="dijit.form.Button" id="continue1" onclick="timeTracker._recordEndTime(); timeTracker._track(pageTracker, 'CatagoryName', 'Writing FIrst Name ');" iconClass="dijitEditorIcon dijitEditorIconRedo" type="button" style="float:right">
Continue
using this GA time tracker I can record the start and stop times of the event as well as the event category and event label. Now I also want to get the FirstName input from a user and associate it with this recorded event.
Any idea about how to do this?
Colin Brock
21.6k9 gold badges51 silver badges62 bronze badges
1 Answer 1
onclick="timeTracker._recordEndTime(); timeTracker._track(pageTracker, 'CatagoryName', document.getElementById('FirstName').value);"
answered Jan 9, 2012 at 21:50
Diodeus - James MacFarlane
115k33 gold badges164 silver badges180 bronze badges
Sign up to request clarification or add additional context in comments.
1 Comment
buni
Thanx Diodeus !I tried this but cannot get the entry of FirstName from the user send to GA
lang-js