Skip to content

Instantly share code, notes, and snippets.

@hotoo
Last active December 19, 2015 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotoo/6034464 to your computer and use it in GitHub Desktop.
Save hotoo/6034464 to your computer and use it in GitHub Desktop.
<html>
<head>
<meta charset="utf-8" />
<!-- uitpl: trackerTime.vm(header.vm) -->
<script>
window._to = {start: new Date()};
</script>
<script>
// monitor.js 前置脚本
</script>
<script src="sea.js,..."></script>
<!-- /uitpl: trackerTime(header.vm) -->
<script>
// 业务前置内联脚本
</script>
<link src="xx.css" />
...
</head>
<body>
...
<script>
// 业务内联代码...
</script>
<!-- uitpl: tracker.vm(footer.vm) -->
<script>
// 全站公共底部代码
seajs.use(["monitor", "sensinfo", "tracker", "heatracker", "smartracker"], function(){
});
</script>
<!-- /uitpl: tracker.vm(footer.vm) -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment