Support » Plugin: Gravity Forms: Google Analytics Addon » I know I am missing something simple

  • I am optimistic about this plugin helping me, but sure need some help getting it to work.

    I am using a Gravity Form with 8 pages and WP and GF are updated to the very latest.

    We are hoping to send a pageview to GA so that we can follow the pages in the behaviour flow. Right now, all of the pages of the form look the same in GA. Your plugin’s description looks to solve this problem for me.

    I have put my google code in the theme’s header.php file:

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-12345678-12', 'auto');
      ga('send', 'pageview');
    
    </script>

    When we login to GA, we see our traffic, but cannot distinguish between pages of the form.

    I have also enabled your GA Addon Plugin and then went to the forms -> Google Analytics section and for each of the 8 pages of the form, I typed in a unique virtual URL that does not exist on my website:
    /zzyzx2
    /zzyzx3
    /zzyzx4
    etc…
    I also have checked the “Use Universal implementation instead of ga.js implementation (_gaq)?” button.

    As I page through the forms, and then go to ‘view source’, I see my code come through, and then later on, I see the code from the plugin also:

    <script>var gfga_parent = window.parent; if (typeof gfga_parent.gfga_pageview == 'function') { gfga_parent.gfga_pageview('/zzyzx2','ua'); }</script>
                    <div class='gf_browser_gecko gform_wrapper' id='gform_wrapper_2' ><form method='post' enctype='multipart/form-data'  id='gform_2'  action='/interview'>
                            <div class='gform_body'><div id='gform_page_2_1' class='gform_page' style='display:none;'>
                                        <div class='gform_page_fields'>
                                <ul id='gform_fields_2' class='gform_fields top_label description_above'><li id='field_2_41' class='gfield    guide-img  gfield_html gfield_html_formatted gfield_no_follows_desc' ><img src="wp-content/uploads/2014/12/form_img1.png" alt="image description">

    But I never see /zzyzx2 in Google Analytics.

    I do see your description in the plugin about Text Confirmation, and really do not understand what you are trying to say. It says “Form <myforms name> doesn’t have a Text as Confirmation.” And sure enough, I don’t.

    So, maybe you have some ideas on how I went wrong on this. And if I need to have a text confirmation, are there any particular details about the text confirmation that I should employ?

    Thank you very much for your help.

    https://wordpress.org/plugins/gravity-forms-google-analytics-addon/

Viewing 1 replies (of 1 total)
  • Plugin Author MikevHoenselaar

    (@mikevhoenselaar)

    Thanks for reaching out.
    The plugin does 2 things.

    You can have forms with multiple pages and forms without a thank you page, but with a Text Confirmation. So instead of redirecting the user to a thank you page you will get a message where the form used to be.

    So in those scenario’s we are using then virtual pageview.

    Can you send me the URL where I can test stuff or email me at mike{at]onlineboswachters.nl and I will try to solve it for you.

Viewing 1 replies (of 1 total)
  • The topic ‘I know I am missing something simple’ is closed to new replies.