使用通用GA设置虚拟页面视图

时间:2015-07-05 18:58:57

标签: google-analytics universal-analytics

这是我的HTML。我在提交表单时尝试设置虚拟页面视图,但我无法使其正常工作。 请咨询

                    <form id="frmContact" action="post.php" method="post">  

                    <div class="form-right-pnl">
                        <input type="text" class="required name" size="40" placeholder="×©× ×ž×œ×:" name="full_name">
                        <input type="text" class="required phone" size="40" placeholder="טלפון:" name="phone">
                        <input type="text" class="required email" size="40" placeholder='דו×"ל:' name="email">
                        <span>מ×שר קבלת ×—×•×ž×¨×™× ×¤×¨×¡×•×ž×™×™×</span> 
                        <input type="checkbox" class="radio_btn" name="selling_a_property" checked value="Yes"/> 
                    </div>
                     <div class="form-left-pnl" id='basic-modal'>

                        <input class="ddl_list" type="submit" value="" onClick=”_gaq.push([‘_trackEvent’, ‘Forms’, ‘Submit’]);” />
                    </div>      
                    <div class="clear"></div>
                </form>

1 个答案:

答案 0 :(得分:0)

更改此行

<input class="ddl_list" type="submit" value="" onClick=”_gaq.push([‘_trackEvent’, ‘Forms’, ‘Submit’]);” />

<input class="ddl_list" type="submit" value="" onClick=”_gaq.push(['_trackPageview', '/virtual-page-view-on-click-submit-button']);” />