javascript - Pass custom data to Google Analytics with Goal Tracking -
i'm using google analytics goal tracking track when user submits form on every page of website. tells me when form has been submitted, there way of passing through page name can track page form has been sent from?
my goal tracking set event goal type , have configured goal use category, action , label following code on submit button, works fine:
onclick="_gaq.push(['_trackevent', 'total form submits', 'submit', 'form submit']);"
if set second dimension in events report "page" show path event triggered. goals can see info in conversions->goal urls report. can see goal triggered without additional code.
Comments
Post a Comment