html 捕获leads.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 捕获leads.html相关的知识,希望对你有一定的参考价值。

<script>
$(document).ready(function(){
  $('#form').submit(function(e){
    e.preventDefault();

    // Get email
    var email = $('#lr_email_c').val();
    // Get other data, e.g. name
    var last_name = $('#last_name').val();
    
    // Send to Vero
    _veroq.push(['user', {id: email, email: email, last_name: last_name}]);
    _veroq.push(['track', 'Submitted contact form']);
    
    // Submit form after miniscule timeout to allow the event to be tracked.
    setTimeout(function(){ $("#form")[0].submit() }, 500);
 });
 </script>

以上是关于html 捕获leads.html的主要内容,如果未能解决你的问题,请参考以下文章