$(function() { var data = { gid: 170120, aid: 1, pid: 55, referer:document.referrer, laiyuan:document.location.href, } $.ajax({ url: '//tongji.2239.com/tongji', type: 'POST', data: data, dateType: 'JSON', success: function(res) { } }); });