bluecrown
V2EX  ›  问与答

为什么看大公司科技网站都会有这么一段 JS 代码,这是代表什么?

  •  
  •   bluecrown · Apr 18, 2017 · 4210 views
    This topic created in 3502 days ago, the information mentioned may be changed or developed.
    <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-16080770-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>

    这个是 UC 官网的

    7 replies  •  2017-09-25 22:50:39 +08:00
    Perry
    Perry
    Apr 18, 2017 via iPhone
    1
    Google Analytics
    haiyang416
    haiyang416
    Apr 18, 2017 via Android
    2
    Google 统计吧。
    fanwei
    fanwei
    Apr 18, 2017
    3
    ...............................
    jiongxiaobu
    jiongxiaobu
    Apr 18, 2017 via iPhone
    4
    天网统治人类
    U7Q5tLAex2FI0o0g
    U7Q5tLAex2FI0o0g
    Apr 18, 2017
    5
    楼主就不会仔细看看代码内容么?就算看不懂不会拿主要关键字 google 一下么。。。
    明显是 GA
    Kilerd
    Kilerd
    Apr 18, 2017
    6
    ga = galaxy analytics . 是天网计划的第一步,记录下全世界所有人的互联网的行动。从而分析出哪些人的危险度高。
    flynaj
    flynaj
    Sep 25, 2017
    7
    代码里不是写着 google-analytics 么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1836 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 15:45 · PVG 23:45 · LAX 07:45 · JFK 10:45
    ♥ Do have faith in what you're doing.