Commit 838eee69 by dabai

google统计

parent ae40b1b2
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
<html lang="en"> <html lang="en">
<head> <head>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script> <script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-134943215-2', 'auto');
ga('send', 'pageview');
</script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="googlebot" content="noindex,nofollow"> <meta name="googlebot" content="noindex,nofollow">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
...@@ -290,7 +294,14 @@ $('.mBottom').show(); ...@@ -290,7 +294,14 @@ $('.mBottom').show();
} }
} }
else{ else{
window.location.href='http://footseen.com/apk'; ga('send', 'event', {
eventCategory: 'default',
eventAction: 'click',
eventLabel: 'default'
});
setTimeout(function(){
window.location.href='http://footseen.com/apk';
},500)
} }
}) })
// } // }
......
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
} }
} }
</script> --> </script> -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-134943215-2', 'auto');
ga('send', 'pageview');
</script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="googlebot" content="noindex,nofollow"> <meta name="googlebot" content="noindex,nofollow">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
...@@ -272,26 +277,33 @@ ...@@ -272,26 +277,33 @@
<script src='/layer-v3.1.0/layer/layer.js'></script> <script src='/layer-v3.1.0/layer/layer.js'></script>
<script type="text/javascript"> <script type="text/javascript">
$('.mBottom').show(); $('.mBottom').show();
$('.iosBtn').on('click',function(){ var data = OpenInstall.parseUrlParams();
window.location.href = 'https://testflight.apple.com/join/F0dDxv20'; // $('.iosBtn').on('click',function(){
}) // window.location.href = 'https://testflight.apple.com/join/F0dDxv20';
// var data = OpenInstall.parseUrlParams(); // })
//new OpenInstall({ new OpenInstall({
// appKey: "dzxj4c", appKey: "dzxj4c",
// preferWakeup: true, preferWakeup: true,
// mask: function () { mask: function () {
// return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>' return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
// }, },
// onready: function () { onready: function () {
// var m = this; var m = this;
// m.schemeWakeup(); m.schemeWakeup();
// $(".iosBtn").on("click", function () { $(".iosBtn").on("click", function () {
// console.log(1111111111) console.log(1111)
// m.wakeupOrInstall(); ga('send', 'event', {
// return false; eventCategory: 'ios',
// }) eventAction: 'click',
// } eventLabel: 'ios'
//}, data); });
setTimeout(function(){
m.wakeupOrInstall();
},500)
return false;
})
}
}, data);
$('.topUp').on('click',function(){ $('.topUp').on('click',function(){
window.location.href = 'http://www.yabolive.tv/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'; window.location.href = 'http://www.yabolive.tv/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web';
}) })
......
...@@ -13,7 +13,12 @@ ...@@ -13,7 +13,12 @@
} }
} }
</script>--> </script>-->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-134943215-2', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="googlebot" content="noindex,nofollow"> <meta name="googlebot" content="noindex,nofollow">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
...@@ -297,8 +302,15 @@ $('.mBottom').show(); ...@@ -297,8 +302,15 @@ $('.mBottom').show();
$(".masking.L_En").fadeIn(500); $(".masking.L_En").fadeIn(500);
} }
} else { } else {
window.location.href='apk'; ga('send', 'event', {
} eventCategory: 'andorid',
eventAction: 'click',
eventLabel: 'andorid'
});
setTimeout(function(){
window.location.href='apk';
},500)
}
}) })
// } // }
......
...@@ -2,7 +2,11 @@ ...@@ -2,7 +2,11 @@
<html lang="en"> <html lang="en">
<head> <head>
<script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script> <script type="text/javascript" src="//res.cdn.openinstall.io/openinstall.js"></script>
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-134943215-2', 'auto');
ga('send', 'pageview');
</script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="googlebot" content="noindex,nofollow"> <meta name="googlebot" content="noindex,nofollow">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
...@@ -287,7 +291,14 @@ $('.mBottom').show(); ...@@ -287,7 +291,14 @@ $('.mBottom').show();
} }
} }
else{ else{
window.location.href='http://footseen.com/apk'; ga('send', 'event', {
eventCategory: 'default',
eventAction: 'click',
eventLabel: 'default'
});
setTimeout(function(){
window.location.href='http://footseen.com/apk';
},500)
} }
}) })
// } // }
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
} }
} }
</script>--> </script>-->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-134943215-2', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="googlebot" content="noindex,nofollow"> <meta name="googlebot" content="noindex,nofollow">
<meta name="robots" content="noindex,nofollow"> <meta name="robots" content="noindex,nofollow">
...@@ -286,8 +292,15 @@ new OpenInstall({ ...@@ -286,8 +292,15 @@ new OpenInstall({
var m = this; var m = this;
m.schemeWakeup(); m.schemeWakeup();
$(".iosBtn").on("click", function () { $(".iosBtn").on("click", function () {
console.log(1111111111) console.log(1111)
m.wakeupOrInstall(); ga('send', 'event', {
eventCategory: 'ios',
eventAction: 'click',
eventLabel: 'ios'
});
setTimeout(function(){
m.wakeupOrInstall();
},500)
return false; return false;
}) })
} }
......
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