你也可以在push函数中添加一些方法来执行,例如: view plaincopyvar visitor_id; _paq.push([ function() { visitor_id = this.getVisitorId(); }]);