Google Optimizer & Analytics Tracking Clicks
function doGoal(that) {
try {
var gwoTracker=_gat._getTracker("UA-xxxxxxxx-x");
gwoTracker._trackPageview("/yyyyyyyyyy/goal");
setTimeout('document.location = "' + that.href + '"', 100)
}
And then call doGoal on the onclick event for the link. The problem is that I can't seem to get both types of tracking to work at the same time. I tried adding pageTracker_TrackPageview call for Analytics to the doGoal function (right after the gwoTracker call) but nothing happened when I clicked on my links after I did that.
Does anyone know how I can get both types of tracking on the same link?
-
jaimegm -
Thanks
{{ DiscussionBoard.errors[2499392].message }} -