Commit 5d233950 authored by haiyoucuv's avatar haiyoucuv

新域名埋点问题

parent 8d9e5c73
import MD from 'spark-utils/out/md/index.js';
import { logClick, logExposure } from "@spark/utils/src-js/md";
import { logClick } from "@spark/utils/src-js/md";
import {jsonp} from "@spark/api-base";
let appId = CFG.appID;
const dcm = '202.' + CFG.projectId + '.0.0';
const domain = '//embedlog.duiba.com.cn';
const domain = '';
const dom = `${CFG.channel}.0.0.0`;
const MDList = new Array(32).fill("").map((v, i) => {
......@@ -27,6 +28,11 @@ export default () =>
click: MDList // 点击
});
export function logExposure(params) {
jsonp("/exposure/standard", params);
}
export function handleLogExposure(id, id2 = 1) {
logExposure({
dpm: `${appId}.110.${id}.${id2}`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment