20 lines
523 B
JavaScript
20 lines
523 B
JavaScript
const kyCode = '97238304'
|
|
|
|
var ky_link = {
|
|
kyApp1: '{{kyApp1}}/?i_code='+kyCode,
|
|
kyApp2: '{{kyApp2}}/?i_code='+kyCode,
|
|
kyPc1: '{{kyPc1}}/register/?i_code='+kyCode,
|
|
kyPc2: '{{kyPc2}}/register?i_code='+kyCode,
|
|
kyH51: '{{kyH51}}/entry/register?i_code='+kyCode,
|
|
kyH52: '{{kyH52}}/entry/register?i_code='+kyCode
|
|
}
|
|
|
|
|
|
function visit_ky(key) {
|
|
window['open'](ky_link[key]);
|
|
try {
|
|
LA.track(key);
|
|
} catch (error) {
|
|
console.error('An error occurred while tracking:', error);
|
|
}
|
|
} |