Hey all,
With forms 1.0, we had included some HTML on our landing pages that would basically create an event in GA, which we customized to help track downloads of different types of assets. We recently implemented Forms 2.0, but it seems we no longer have any of the GA tracking when someone submits. Has anybody found a way to do something similar? Here's an example of the script:
<script>
var $jQ = jQuery.noConflict();
// Use jQuery via $jQ(...)
$jQ(window).load(function(){
$jQ("#mktFrmSubmit").wrap("<div class='buttonSubmit'></div>");
$jQ(".buttonSubmit").prepend("<span></span>");
var oldFormSubmit = formSubmit;
window['formSubmit'] = function(elt){
_gaq.push(['_trackEvent', 'offer-video', 'watched', 'social-Dashboards-Demo']);
return oldFormSubmit(elt);
}
});
</script>