Google Analytics新代码可避免代码造成的延迟

  Google官方Blog发布的文章称,Google Analytics的代码更新,用户可以在管理界面建立一个新的配置文件。这次它们采用了异步追踪的方式,通常来讲这样用户浏览网页时会更快,不会感觉到因为代码下载而造成的延迟。

 Www.Hdut.Com

  现在的Google Analytics管理界面提供了默认异步的跟踪代码,也提供传统的跟踪代码。官方建议站长们都能改用到新的代码,将代码放置在</head>之前。

  官方博文如下:

  

We’re happy to announce that the asynchronous tracking tag, which came out of beta last week, is now available in your admin interface when you set up a new profile. This makes it easy for everyone to start off tracking new sites with this very fast, state-of-the-art tag.
Whether you’re tracking a single domain, or a more complex site with multiple subdomains or top level domains, there’s an option in the interface to give you exactly the code you need.

Simply select the scenario that fits your needs. The admin interface now provides the asynchronous tracking code by default, but if you need the traditional tracking snippet you can find it here
 
We also encourage you to upgrade your existing sites to the new tag. To help you, we’ve created complete instructions and migration examples.
 
Enjoy your new, faster site!
 

类别:网站推广(SEO)  来源:本站原创  作者:hpping  日期:2010-05-27 09:34

上一条:浅析网站页面优化之分页及网站底部处理
下一条:细数百度推广关键词七宗罪,烧钱都是因为它!