jquery - Tracking goals on AJAX calls in Google Analytics -
on website goal want track attached ajax call rather specific url. there anyway track in google analytics?
note: using jquery.
the solution can think of @ moment having tiny iframe somewhere on page , loading goal url frame. however, doesn't sound clean , mess pageviews.
have taken @ google analytics event tracking? i've used before ajax based comments success.
on page use similar following track url in google analytics:
<input type='button' onclick="javascript:pagetracker._trackpageview('/goal/comment.html') />
Comments
Post a Comment