PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Google Goals For each Page on a multi-page form

  1. boala
    Member

    Hi,
    I want to track the number of users who didn't completed the multi-page form.
    There can be 2 possibilities i guess.
    1 can be the Gravity Form system, if it can save the entries after submission of each page rather than after the submission of the whole form.
    in this way i can keep track of the incomplete forms which may help me to make my form more user friendly.
    The other option i have is the Google Analytic Goals, but it requires the URL for every funnel (or intermediate point) to the goal.
    Since all the six pages of my multi-page form have same URL, its not possible for me to track the user's visit for every step through Google Analytics.
    Is there any way to make this happen.
    I hope it wasn't too confusing
    Thanks.

    Posted 12 years ago on Monday November 28, 2011 | Permalink
  2. Currently this isn't a built in feature. The data isn't actually submitted and stored until the final page of the form is submitted.

    If you wanted to somehow track abandoned forms you would have to do this as a customization. This is certainly doable, but you would have to know how you want to be notified that the form is abandoned, and what it should do in that situation.

    There are hooks you can use to execute code on each page load. The problem is then knowing that it was abandoned, and knowing that it wasn't fully completed. It's certainly tricky.

    Ultimately it's not a built in feature so you'd have to write your own custom code to accomplish this as a customization. It's not a simple customization, either. It would definitely be a more complex customization to implement.

    Posted 12 years ago on Monday November 28, 2011 | Permalink
  3. boala
    Member

    Hi Carl,
    I tried to write some code for six different steps of my form... I created six tables in my DB. one for each step. and once i visit an step of the form i call a php file using iframe
    <Iframe src="http://vush.pk/step1.php" height="1" ></Iframe>
    and for second step i inserted an html field
    <Iframe src="http://vush.pk/step2.php" height="1" ></Iframe>
    and in those php files, i just do an increment into the table of respective step.
    I faced an issue with this technique,
    i.e if i just visit the first step, it adds 1 to all the tables of my DB (i.e, like if all the steps are visited). Is there any reason for that ???
    Is this approach correct ?
    If yes, then may be i have done something wrong with my code ??
    Thanks.

    Posted 12 years ago on Thursday January 5, 2012 | Permalink
  4. Yes, you might have done something wrong with your code. Please post the code you're using and we'll see if we can help at all.

    Posted 12 years ago on Friday January 6, 2012 | Permalink
  5. boala
    Member

    Hi,
    The following code is used in step2.php

    <?php
    $connect = mysql_connect("localhost", "username","password") or die ("Not connected to Database");
    mysql_select_db("mydbname") or die ("Database not found");
    $test="1";
    $queryreg = mysql_query("INSERT INTO step2 VALUES('','$test')");
    ?>

    And the only difference in other steps pages are the table name in insert query.
    Thanks

    Posted 12 years ago on Monday January 9, 2012 | Permalink
  6. boala
    Member

    Any update on this ?
    thanks

    Posted 12 years ago on Monday January 16, 2012 | Permalink