I've looked at a few posts about this but I still can't seem to get it to work.
This post in particular seems to explain it well but it doesn't seem to be working for me... http://www.gravityhelp.com/forums/topic/conversion-tracking-multiple-pages
Here's the code I am using:
<?php
if (is_page(7) || is_page(140) || is_page(144)) {
?>
<script type="text/javascript">// <![CDATA[
$(document).bind('gform_page_loaded', function(event, form_id, current_page){
_gaq.push(['_trackPageview'], window.location.pathname + current_page);
});
// ]]></script>
<?php
}
?>
My questions are as follows:
1. Do I need to change any code such as actually enter the form id or page number?
2. If this is the correct code what should the page urls be for each step in the goal funnel in GA? For example if the page is website.com/form/ I assume that is the url for step 1. Should the url for step 2 then be website.com/form/2/ ?
I hope that all makes sense. I really hope someone can point me in the right direction as these multi-page forms are almost worthless if I can't tell how many people get to the second page but don't complete the form.
Thank you.