Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【kit.ta】pc客户端埋点介绍 #11

Open
Kelichao opened this issue Feb 23, 2017 · 0 comments
Open

【kit.ta】pc客户端埋点介绍 #11

Kelichao opened this issue Feb 23, 2017 · 0 comments

Comments

@Kelichao
Copy link
Owner

Kelichao commented Feb 23, 2017

页面打开即触发

// 页面打开即触发
kit.ta(["id1", "id2"]);

点击触发

// i客户端埋点快捷方法
// 调用此方法之前需要引入TA.js,如果没有引,则动态加载标签
kit.ta({
    {
        // id号 : 触发类名
        "ibyf130_3242": ".class1",
        "iby2345_fre4": ".class2"
    }
});

// 此类对象方式需要点击,防止跳转默认触发方式为mousedown
// 如需其它触发方式,则可添加第二个参数
kit.ta({
    {
        // id号 : 触发类名
        "ibyf130_3242": ".class1",
        "iby2345_fre4": ".class2"
    }
}, "mouseover");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant