0
<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
asked Jan 9, 2012 at 20:41

1 Answer 1

1
onclick="timeTracker._recordEndTime(); timeTracker._track(pageTracker, 'CatagoryName', document.getElementById('FirstName').value);"
answered Jan 9, 2012 at 21:50
Sign up to request clarification or add additional context in comments.

1 Comment

Thanx Diodeus !I tried this but cannot get the entry of FirstName from the user send to GA

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.