Commit 8a5c942a by agan

ios粘贴板

parent 41ccf394
Showing with 24 additions and 20 deletions
...@@ -83,10 +83,20 @@ ...@@ -83,10 +83,20 @@
}); });
console.log(params); console.log(params);
$(".iosDown").on("click", function () { $(".iosDown").on("click", function () {
clickDownload(); clickDownload(function(data){
copyText(iosData); var mData = '';
if(!data){
mData = iosData;
}else{
mData = data.iOSChannel
}
if(fromWhere){
mData = 'ftsBVIP';
}
copyText(mData);
window.location.href = 'http://www.app9.pw/app/1609398203';
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058' // window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
window.location.href = 'http://www.app9.pw/app/1609398203';
}) })
function gtag_report_conversion() { function gtag_report_conversion() {
......
...@@ -78,25 +78,19 @@ ...@@ -78,25 +78,19 @@
}); });
console.log(params); console.log(params);
$(".iosDown").on("click", function () { $(".iosDown").on("click", function () {
copyText(iosData); clickDownload(function(data){
clickDownload(); var mData = '';
if(!data){
mData = iosData;
}else{
mData = data.iOSChannel
}
copyText(mData);
window.location.href = 'http://www.app9.pw/app/1609398203';
});
// window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058' // window.location.href = 'https://apps.apple.com/us/app/firefly-live-live-video-chat/id1473568058'
window.location.href = 'http://www.app9.pw/app/1609398203';
// ga('send', 'event', {
// eventCategory: 'ios',
// eventAction: 'click',
// eventLabel: 'ios'
// });
// ga('clientTracker.send', 'event', {
// eventCategory: 'ios',
// eventAction: 'click',
// eventLabel: 'ios'
// });
// gtag('event', 'conversion', {
// 'send_to': 'AW-678006312/kqI0CJCE-7gBEKicpsMC',
// 'event_callback': gtag_report_conversion()
// });
}) })
function gtag_report_conversion() { function gtag_report_conversion() {
setTimeout(function () { setTimeout(function () {
......
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