初始为新媒体h5页

media_land_page.html 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport"
  7. content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=8">
  10. <meta http-equiv="Expires" content="0">
  11. <meta http-equiv="Pragma" content="no-cache">
  12. <meta http-equiv="Cache-control" content="no-cache">
  13. <meta http-equiv="Cache" content="no-cache">
  14. <link rel="stylesheet" type="text/css" href="./public/public_css.css" />
  15. <script type="text/javascript" src="./public/public.js"></script>
  16. <script type="text/javascript" src="./public/jquery-2.1.0.js"></script>
  17. <title>999维生素C泡腾片</title>
  18. <style>
  19. .container {
  20. background-color: #AADFFF;
  21. min-height: 100vh;
  22. box-sizing: border-box;
  23. }
  24. img {
  25. width: 100%;
  26. }
  27. .btn {
  28. width: 2.5rem;
  29. margin-top: 0.5rem;
  30. position: fixed;
  31. bottom: 0.6rem;
  32. left: 0;
  33. right: 0;
  34. margin: auto;
  35. }
  36. </style>
  37. <script type="text/javascript">
  38. var url_params = getQueryUrl();
  39. var miaozhen_monitor = {
  40. default: {
  41. exposure: 'https://tyks.m.cn.miaozhen.com/x/k=2357328&p=8Ohb5&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&vg=__AUTOPLAY__&nh=__AUTOREFRESH__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o=',
  42. click: 'https://tyks.m.cn.miaozhen.com/r/k=2357328&p=8Ohb5&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o='
  43. },
  44. '866021074681467175': { //阿坤和小书
  45. exposure: 'https://tyks.m.cn.miaozhen.com/x/k=2357328&p=8PF1K&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&vg=__AUTOPLAY__&nh=__AUTOREFRESH__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o=',
  46. click: 'https://tyks.m.cn.miaozhen.com/r/k=2357328&p=8PF1K&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o='
  47. },
  48. '866021486081892870': { //萍萍和哥哥
  49. exposure: 'https://tyks.m.cn.miaozhen.com/x/k=2357328&p=8PF1M&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&vg=__AUTOPLAY__&nh=__AUTOREFRESH__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o=',
  50. click: 'https://tyks.m.cn.miaozhen.com/r/k=2357328&p=8PF1M&dx=__IPDX__&rt=2&pro=s&ns=__IP__&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&tr=__REQUESTID__&mo=__OS__&m0=__OPENUDID__&m0a=__DUID__&m1=__ANDROIDID1__&m1a=__ANDROIDID__&m2=__IMEI2__&m4=__AAID__&m5=__IDFA2__&m6=__MAC1__&m6a=__MAC__&m11=__OAID__&m14=__CAID__&m5a=__IDFV__&mn=__ANAME__&m5b=__IDFA1__&m11a=__OAID1__&m14a=__CAID1__&ka=__ACCOUNTID__&kb=__AID__&kc=__CID__&kd=__DID__&ke=__DNAME__&kf=__CSITE__&kg=__CALLBACK__&o='
  51. }
  52. }
  53. // 通过地址栏判断埋点链接
  54. var md_url_obj = '';
  55. if (miaozhen_monitor[url_params.orderid]) {
  56. md_url_obj = miaozhen_monitor[url_params.orderid];
  57. } else {
  58. md_url_obj = miaozhen_monitor.default;
  59. }
  60. // 获取地址栏信息
  61. function getQueryUrl () {
  62. let url = window.location.href;
  63. let result = {};
  64. if (url.indexOf('?') > -1) {
  65. let str = url.split('?')[1];
  66. let temp = str.split('&');
  67. for (let i = 0; i < temp.length; i++) {
  68. let temp2 = temp[i].split('=');
  69. result[temp2[0]] = temp2[1]
  70. }
  71. }
  72. return result
  73. }
  74. if (window.performance.navigation.type != 2) {
  75. let script = document.createElement('script');
  76. script.type = 'text/javascript';
  77. script.src = md_url_obj.exposure;
  78. document.head.appendChild(script);
  79. }
  80. </script>
  81. </head>
  82. <body>
  83. <div class="container">
  84. <img src="./img/land_page.jpg" alt="">
  85. <img class="btn" src="./img/land_page_btn.png" id="btn" onclick="onClickBtn()" alt="">
  86. </div>
  87. </body>
  88. <script>
  89. function onClickBtn () {
  90. let script = document.createElement('script');
  91. script.type = 'text/javascript';
  92. script.src = md_url_obj.click;
  93. document.head.appendChild(script);
  94. let url = 'https://s.click.taobao.com/t?e=m%3D2%26s%3Dbju2TeuuPa5w4vFB6t2Z2iperVdZeJvif3ovRFFLMflyINtkUhsv0LMP7FHxrhvdu4orzXpSVFFRcrjXsM7UeWw7mmFGXJYBwJCAwrI7y0oj4CRtVoLFszkeWUHIaZXA4GfJKEjEJwJzpYkv2aBXVqM6S9dlr6zhVTDh1sGXS1X0bb34kuq6Fqpvfca0ZSzdKaFSJePRPq4zuTGl041QAqC1%2Fwjn0aaPtY4Qt2cZ1lXd4efXitbU8JFcSFnFSJXmsFMnFeqO8gZ5yNE9MYfEdhbJpX7Mxr0b1lzoPAOG4ARzlpiEV4PyOH9J0huChCHhxg5p7bh%2BFbQ%3D&union_lens=lensId%3APUB%401685103314%4021085302_0f97_18857fc06b1_d3c1%4001&direct_sale=1'
  95. let a = document.createElement('a')
  96. a.setAttribute('href', url)
  97. document.body.appendChild(a)
  98. a.click()
  99. }
  100. </script>
  101. </html>