一张图教你实现如何埋点(浙里办)

2024年09月01日 建站教程

附代码:

(function(w, d, s, q, i) {
		w[q] = w[q] || [];
		var f = d.getElementsByTagName(s)[0],
			j = d.createElement(s);
		j.async = true;
		j.id = 'beacon-aplus';
		j.src = 'https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085';
		f.parentNode.insertBefore(j, f);
	})(window, document, 'script', 'aplus_queue');
	aplus_queue.push({
		action: 'aplus.setMetaInfo',
		arguments: ['aplus-rhost-v', 'alog.zjzwfw.gov.cn']
	});
	aplus_queue.push({
		action: 'aplus.setMetaInfo',
		arguments: ['aplus-rhost-g', 'alog.zjzwfw.gov.cn']
	});
	aplus_queue.push({
		action: 'aplus.setMetaInfo',
		arguments: ['appId', '60506758']
	});
	aplus_queue.push({
		action: "aplus.setMetaInfo",
		arguments: ["_user_nick", userName]
	});
	aplus_queue.push({
		action: "aplus.setMetaInfo",
		arguments: ["_user_id", userId]
	});

本文链接:http://so.lmcjl.com/news/11968/

展开阅读全文
相关内容