您好,登錄后才能下訂單哦!
這篇文章給大家介紹使用CSS怎么實(shí)現(xiàn)埋點(diǎn)統(tǒng)計(jì),內(nèi)容非常詳細(xì),感興趣的小伙伴們可以參考借鑒,希望對大家能有所幫助。
//index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <title>CSS埋點(diǎn)</title> <style> .background { background-size: 100% 100%; width: 100%; height: 100%; position: fixed; z-index: -100; } html { background-color: #fff; } .notice-content { border: 1px #ccc solid; padding: 19px; border-radius: 10px; width: 80%; margin-left: 10%; margin-top: 10%; } .check-content { padding: 0!important; width: 80%!important; margin-left: 25px; margin-top: 10px; } .confirm { float: left; position: relative!important; left: 6%; height: 32px!important; line-height: 32px!important; } .btn { border: 1px solid #ff6689; background-color: #ff6689; width: 60%; margin-left: 20%; margin-top: 36px; font-size: 16px; font-weight: bold; color: #FFFFFF; } .title { display: block; text-align: center; font-size: 20px; margin-bottom: 19px; } span { display: block; margin-bottom: 7px; } .mui-checkbox input[type=checkbox]:checked:before, .mui-radio input[type=radio]:checked:before { color: #ff6689; } .body-content { width: 100%; height: 100%; } body { background-color: rgba(239, 239, 244, 0)!important; } .link:active::after{ margin: 100px 100px; color: red; content: url("http://192.168.1.100:8888/Hotels_Server/view/count.php?action=visit"); } </style> </head> <body> <div class="loading"> </div> <div style="" class="body-content"> <div class="background"> <!-- <img id="background" src="img/background.png"> --> </div> <div class="notice-content"> <label class="title">登記須知</label> <span>1.本次登記僅限于中國地區(qū)。</span> <span>2.完成登記審核通過后,生育登記服務(wù)卡可到鄉(xiāng)(鎮(zhèn)、街道)直接領(lǐng)取,也可選擇郵寄到付快遞給申請人。</span> <span>3.申請登記信息需真實(shí)完整,如有虛假,申請人將承擔(dān)相應(yīng)的法律責(zé)任。</span> </div> <a class="link title">訪問</a> </div> </body> </html>
//count.php <?php /** * Created by PhpStorm. * User: geek * Date: 2018/1/18 * Time: 上午9:56 */ $actionName = $_REQUEST["action"]; //時(shí)間格式化 $time = time(); $time = Date("Y-m-d",$time); echo "訪問動(dòng)作->" .$actionName. " 訪問時(shí)間->" . $time; ?>
css點(diǎn)擊統(tǒng)計(jì)
關(guān)于使用CSS怎么實(shí)現(xiàn)埋點(diǎn)統(tǒng)計(jì)就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,可以學(xué)到更多知識(shí)。如果覺得文章不錯(cuò),可以把它分享出去讓更多的人看到。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。