Commit 80b45e1e by dabai

footseen 安卓下载改为直接下载apk

parent 1307b515
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -148,44 +148,48 @@ ga('clientTracker.send', 'pageview');
eventAction: 'click',
eventLabel: 'andorid'
});
if(location.pathname == '/'){
var data = {'icid':'ftsgp'};
layer.open({
type: 1,
title: false,
shadeClose: true,
area: ["7.2rem", "6.98rem"],
content: $(".layer-box"),
})
$(".googleDown").on("click", function () {
copyText('footseen#ftsgp');
new OpenInstall({
appKey: "dzxj4c",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
setTimeout(function(){
m.wakeupOrInstall();
return false;
},1000)
}
}, data);
})
$(".apkDown").on("click", function () {
window.location.href="apk";
})
} else {
gtag('event', 'conversion', {
// if(location.pathname == '/'){
// var data = {'icid':'ftsgp'};
// layer.open({
// type: 1,
// title: false,
// shadeClose: true,
// area: ["7.2rem", "6.98rem"],
// content: $(".layer-box"),
// })
// $(".googleDown").on("click", function () {
// copyText('footseen#ftsgp');
// new OpenInstall({
// appKey: "dzxj4c",
// preferWakeup: true,
// mask: function () {
// return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
// },
// onready: function () {
// var m = this, button = document.getElementById("iosDown");
// m.schemeWakeup();
// setTimeout(function(){
// m.wakeupOrInstall();
// return false;
// },1000)
// }
// }, data);
//
// })
// $(".apkDown").on("click", function () {
// window.location.href="apk";
// })
// } else {
//
// gtag('event', 'conversion', {
// 'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
// 'event_callback': gtag_report_conversion('apk')
// });
// }
gtag('event', 'conversion', {
'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
'event_callback': gtag_report_conversion('apk')
});
}
}
})
......
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 sign in to comment