Gravity Forms: Tracking a multi page form with AND without AJAX enabled
WARNING: Geek content.
Recently I went on a quest, as I commonly do, to find out how to make Gravity Forms do what I want it to do. In this case I had a client with a multi-page gravity form setup that we wanted to track abandonment on – i.e. how many people leave on page 1, 2, 3, etc. This would then plug into Google Analytics goals and conversion funnel to give us insights and allow for better split testing.
I had an issue with this though… It required you to use AJAX. Normally that wouldn’t be an issue, but this form was integrated with Cart66 – which doesn’t support AJAX forms! Have you tried it? It gets messy…
So I did a bit of digging and discovered that there’s some POST data we can use beyond the first page that tells us what the current page is. Simply if this existed, we knew we were on page X – if it didn’t exist, we can assume we’re on page 1.
The end result is you will have a pageview per page now, with the page number appended to the end of it – you can then setup your Goals to use each of those new pageviews as your conversion funnel.