google analytics - Set a Virtual Page View with Universal GA -


this html from. , i'm trying set virtual page view when submitting form can't make work. pls advice

                    <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> 

change line

<input class="ddl_list" type="submit" value="" onclick=”_gaq.push([‘_trackevent’, ‘forms’, ‘submit’]);” /> 

for

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

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -