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.

Multi-page tracking for Google Analytics Funnel Visualization

  1. akingston
    Member

    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.

    Posted 11 years ago on Sunday June 30, 2013 | Permalink
  2. Richard Vav
    Administrator

    If you still require assistance with this please open a new support ticket or a priority support ticket if you are a developer license holder. Thank you.

    Posted 11 years ago on Saturday July 27, 2013 | Permalink

This topic has been resolved and has been closed to new replies.